- Add rules
avoid_final_parameters
conditional_uri_does_not_exist
no_leading_underscores_for_library_prefixes
no_leading_underscores_for_local_identifiers
noop_primitive_operations
prefer_adjacent_string_concatenation
prefer_foreach
secure_pubspec_urls
sized_box_shrink_expand
unnecessary_breaks
unnecessary_lambdas
unnecessary_to_list_in_spreads
use_raw_strings
- Bump minimum supported sdk to
3.0.0
- Add rules
use_super_parameters
always_put_required_named_parameters_first
avoid_redundant_argument_values
- Lock DCM version as they switch to proprietary license.
- Update
dart_code_metrics
dependency to 5.7.3 - Rename deprecated
member-ordering-extended
tomember-ordering
- Add rule for widgets methods order configuration:
- initState
- build
- didChangeDependencies
- didUpdateWidget
- deactivate
- dispose
- Add support for Dart 3
- Disabe invariant_booleans as it is deprecated in Flutter 3.7
- enable use_colored_box & use_decorated_box + add more comments about specific lints
- Update to the latest DCM to make sure that it works with latest flutter.
- Disabe do_not_use_environment as we need to for Flutter for web
- Update
dart_code_metrics
dependency to 4.10.1 - Ignore
mockito
mocks generated to be alongside source test files
- Remove
diagnostic_describe_all_properties
rule - Disable cyclomatic complexity metric for tests
- Exclude generated files
- Add more useful DCM rules.
- Add a separate anayisis options file for tests
- Remove the
sort_constructors_first
rule
- Set maximum method length to 200
- Set maximum parameters list length to 7
- Configure rules based on Flutter 2.5 (Dart 2.14.4)
- Updated readme
- Preview