- Bump to
flutter_lints: ^5.0.0
- Add lints which were removed from flutter_lints
- Change minimum Dart version to ^3.5.0 🎯
- Add
unintended_html_in_doc_comment
- Remove duplicated lints
- Change minimum Dart version to ^3.4.0 🎯
- Add
missing_code_block_language_in_doc_comment
- Add
unnecessary_library_name
- Change minimum Dart version to ^3.3.0 🎯
- Remove duplicated lints
- Remove deleted lints
- Change minimum Dart version to ^3.2.0 🎯
- Add
annotate_redeclares
- Remove duplicated lints
- Adds pub topics to package metadata.
- Change minimum Dart version to '3.1.0' 🎯
- Add
no_self_assignments
- Add
no_wildcard_variable_uses
- Add
matching_super_parameters
- Add
no_literal_bool_comparisons
- Remove duplicated rules
- collection_methods_unrelated_type
- implicit_call_tearoffs
- use_string_in_part_of_directives
- Change minimum Dart version to '3.0.0' 🎯
- Add
implicit_reopen
- Add
invalid_case_patterns
- Add
type_literal_in_constant_pattern
- Add
unnecessary_breaks
- Add
combinators_ordering
- Change minimum Dart version to '2.19.0'
- Remove deprecated
invariant_booleans
- Add
enable_null_safety
- Add
library_annotations
- Add
dangling_library_doc_comments
- Add
collection_methods_unrelated_type
- Add
implicit_call_tearoffs
- Add
unnecessary_library_directive
- Add
unreachable_from_main
- Add
use_string_in_part_of_directives
- Add
language/strict-casts
and removestrong-mode
(Not behavior change)
- Change minimum Dart version to '2.18.0'
- Add
unnecessary_null_aware_operator_on_extension_on_nullable
- Add
unnecessary_to_list_in_spreads
- Update flutter_lints version constraints
- Change minimum Dart version to '2.17.0'
- Add
use_colored_box
- Add
use_enums
- Add
use_super_parameters
- Add
avoid_redundant_argument_values
- Add
require_trailing_commas
- Change minimum Dart version to '2.16.0'
- Add
use_decorated_box
- Add
no_leading_underscores_for_library_prefixes
- Add
no_leading_underscores_for_local_identifiers
- Add
secure_pubspec_urls
- Add
sized_box_shrink_expand
- Add
avoid_final_parameters
- Add
unnecessary_late
- Change minimum Dart version to '2.15.0'
- Add
depend_on_referenced_packages
- Add
eol_at_end_of_file
- Add
noop_primitive_operations
- Add
unnecessary_constructor_name
- Add
use_test_throws_matchers
- Set analyzer/language/strict-inference to true
- Set analyzer/language/strict-raw-types to true
- Depends on
flutter_lints
instead of deprecatedpedantic
- Add
use_key_in_widget_constructors
- Add
unnecessary_string_interpolations
- Add
avoid_print
- Add
avoid_multiple_declarations_per_line
- Add
deprecated_consistency
- Add
use_named_constants
- Add
avoid_dynamic_calls
- Migrated to null safety
- Add new lints
- avoid_dynamic_calls
- avoid_type_to_string
- cast_nullable_to_non_nullable
- null_check_on_nullable_type_parameter
- tighten_type_of_initializing_formals
- unnecessary_null_checks
- unnecessary_nullable_for_final_variable_declarations
- use_late
- Add
sized_box_for_whitespace
- Add
exhaustive_cases
- Add
no_default_cases
- Add
use_is_even_rather_than_modulo
- Comment out
sized_box_for_whitespace
, which hasn't released to current stable channel (1.17.1)- It will be included in 1.10.0-dev for now
- Add sized_box_for_whitespace
- Disable avoid_types_on_closure_parameters
- Add prefer_final_in_for_each
- Disable avoid_returning_null_for_future
- Not work as documented: https://dart-lang.github.io/linter/lints/avoid_returning_null_for_future.html
- Update pedantic to 1.9.0
- Split out
analysis_options_flutter_samples.yaml
- It is also valid to specify
include: package:pedantic_mono/analysis_options_flutter_samples.yaml
- More loose rules
- missing_required_param: warning
- missing_return: warning
- Add many linter rules.
Add these rules.
- sort_constructors_first
- sort_unnamed_constructors_first
Add these rules.
- prefer_const_constructors
- prefer_const_constructors_in_immutables
- prefer_const_declarations
- prefer_const_literals_to_create_immutables
- Fix metadata.
- First release.