strict 1.0.0-nullsafety.0
strict: ^1.0.0-nullsafety.0 copied to clipboard
A heavily opinionated analysis_options for Dart/Flutter projects with strict - but justified - lint rules
1.0.0-nullsafety.0 #
Addressed the remaining TODOs, while improving the description of some decisions. Also fixing the bad version naming.
- Updated
dart-lang/linterrules up to version0.1.129: added ruleavoid_dynamic_calls(experimental, still not enabled); - Enabled
avoid_annotating_with_dynamic- which was erroneously disabled (misconception of what it really did); - Enabled strong-mode rule of
implicit-dynamictofalse; - Enabled
cast_nullable_to_non_nullable,tighten_type_of_initializing_formals,unnecessary_null_checksandunnecessary_nullable_for_final_variable_declarationsdue to NNBD; - Disabled
avoid_returning_null,avoid_returning_null_for_futureandavoid_returning_null_for_voiddue to NNBD; - Customized
avoid_asto show awarning, with the according explanation to why;
Contains all rules up to version 0.1.127 of dart-lang/linter, with pending TODOs (non-critical) in the
analysis_options.yaml.
1.0.0-0 #
First version of strict.
Contains all rules up to version 0.1.127 of dart-lang/linter, with pending TODOs (non-critical) in the
analysis_options.yaml.