Add unnecessary_new lints, upgrade prod

This commit is contained in:
Tobe O 2019-04-28 14:38:01 -04:00
parent 96b27a402b
commit b648fdf65d
2 changed files with 8 additions and 4 deletions

View file

@ -2,3 +2,7 @@ include: package:pedantic/analysis_options.yaml
analyzer: analyzer:
strong-mode: strong-mode:
implicit-casts: false implicit-casts: false
linter:
rules:
- unnecessary_const
- unnecessary_new

View file

@ -9,12 +9,12 @@ dependencies:
angel_configuration: ^2.0.0 # Loads application configuration, along with support for .env files. 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_framework: ^2.0.0-rc.0 # The core server library.
angel_jael: ^2.0.0 # Server-side templating engine 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_static: ^2.0.0 # Static file server
angel_validate: ^2.0.0 # Allows for validation of input data angel_validate: ^2.0.0 # Allows for validation of input data
dev_dependencies: dev_dependencies:
angel_hot: ^2.0.0 # Hot-reloading support. :) angel_hot: ^2.0.0 # Hot-reloading support. :)
angel_test: ^2.0.0 # Utilities for testing Angel servers. angel_test: ^2.0.0 # Utilities for testing Angel servers.
io: ^0.3.2 io: ^0.3.2 # For pretty printing.
pedantic: ^1.0.0 pedantic: ^1.0.0 # Enforces Dart style conventions.
test: ^1.0.0 test: ^1.0.0 # For unit testing.