@@ -42,7 +42,7 @@ linter:
4242 - avoid_bool_literals_in_conditional_expressions
4343 # - avoid_catches_without_on_clauses # blocked on https://github.com/dart-lang/linter/issues/3023
4444 # - avoid_catching_errors # blocked on https://github.com/dart-lang/linter/issues/3023
45- # avoid_classes_with_only_static_members # # we do this commonly for `abstract final class`es
45+ # - avoid_classes_with_only_static_members # we do this commonly for `abstract final class`es
4646 - avoid_double_and_int_checks
4747 - avoid_dynamic_calls
4848 - avoid_empty_else
@@ -93,6 +93,7 @@ linter:
9393 - dangling_library_doc_comments
9494 - depend_on_referenced_packages
9595 - deprecated_consistency
96+ # - deprecated_member_use_from_same_package # we allow self-references to deprecated members
9697 # - diagnostic_describe_all_properties # enabled only at the framework level (packages/flutter/lib)
9798 - directives_ordering
9899 # - discarded_futures # too many false positives, similar to unawaited_futures
@@ -107,6 +108,7 @@ linter:
107108 - hash_and_equals
108109 - implementation_imports
109110 - implicit_call_tearoffs
111+ - implicit_reopen
110112 - invalid_case_patterns
111113 - iterable_contains_unrelated_type
112114 # - join_return_with_assignment # not required by flutter style
@@ -118,12 +120,14 @@ linter:
118120 # - lines_longer_than_80_chars # not required by flutter style
119121 - list_remove_unrelated_type
120122 # - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/linter/issues/453
123+ # - matching_super_parameters # blocked on https://github.com/dart-lang/language/issues/2509
121124 - missing_whitespace_between_adjacent_strings
122125 - no_adjacent_strings_in_list
123126 - no_default_cases
124127 - no_duplicate_case_values
125128 - no_leading_underscores_for_library_prefixes
126129 - no_leading_underscores_for_local_identifiers
130+ # - no_literal_bool_comparisons # needs quick fix, https://github.com/dart-lang/linter/issues/4333
127131 - no_logic_in_create_state
128132 # - no_runtimeType_toString # ok in tests; we enable this only in packages/
129133 - non_constant_identifier_names
@@ -194,6 +198,7 @@ linter:
194198 - tighten_type_of_initializing_formals
195199 # - type_annotate_public_apis # subset of always_specify_types
196200 - type_init_formals
201+ - type_literal_in_constant_pattern
197202 # - unawaited_futures # too many false positives, especially with the way AnimationController works
198203 - unnecessary_await_in_return
199204 - unnecessary_brace_in_string_interps
0 commit comments