From b648fdf65de42d7bc3604c73cb756b98209a7ba6 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 28 Apr 2019 14:38:01 -0400 Subject: [PATCH] Add unnecessary_new lints, upgrade prod --- analysis_options.yaml | 4 ++++ pubspec.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index a4f3335..2981164 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -2,3 +2,7 @@ include: package:pedantic/analysis_options.yaml analyzer: strong-mode: implicit-casts: false +linter: + rules: + - unnecessary_const + - unnecessary_new diff --git a/pubspec.yaml b/pubspec.yaml index e124b4f..ed160ae 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,12 +9,12 @@ dependencies: angel_configuration: ^2.0.0 # Loads application configuration, along with support for .env files. angel_framework: ^2.0.0-rc.0 # The core server library. angel_jael: ^2.0.0 # Server-side templating engine - angel_production: ^1.0.0-alpha + angel_production: ^1.0.0 # Production application runner. angel_static: ^2.0.0 # Static file server angel_validate: ^2.0.0 # Allows for validation of input data dev_dependencies: angel_hot: ^2.0.0 # Hot-reloading support. :) angel_test: ^2.0.0 # Utilities for testing Angel servers. - io: ^0.3.2 - pedantic: ^1.0.0 - test: ^1.0.0 + io: ^0.3.2 # For pretty printing. + pedantic: ^1.0.0 # Enforces Dart style conventions. + test: ^1.0.0 # For unit testing.