You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# - always_put_required_named_parameters_first # we prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219
22
+
- always_require_non_null_named_parameters
23
+
- always_specify_types
24
+
- annotate_overrides
25
+
# - avoid_annotating_with_dynamic # conflicts with always_specify_types
26
+
- avoid_as
27
+
# - avoid_bool_literals_in_conditional_expressions # not yet tested
28
+
# - avoid_catches_without_on_clauses # we do this commonly
29
+
# - avoid_catching_errors # we do this commonly
30
+
- avoid_classes_with_only_static_members
31
+
# - avoid_double_and_int_checks # only useful when targeting JS runtime
32
+
- avoid_empty_else
33
+
- avoid_field_initializers_in_const_classes
34
+
- avoid_function_literals_in_foreach_calls
35
+
- avoid_init_to_null
36
+
# - avoid_js_rounded_ints # only useful when targeting JS runtime
37
+
- avoid_null_checks_in_equality_operators
38
+
# - avoid_positional_boolean_parameters # not yet tested
39
+
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
40
+
- avoid_relative_lib_imports
41
+
- avoid_renaming_method_parameters
42
+
- avoid_return_types_on_setters
43
+
# - avoid_returning_null # there are plenty of valid reasons to return null
44
+
# - avoid_returning_this # there are plenty of valid reasons to return this
45
+
# - avoid_setters_without_getters # not yet tested
46
+
# - avoid_single_cascade_in_expression_statements # not yet tested
47
+
- avoid_slow_async_io
48
+
- avoid_types_as_parameter_names
49
+
# - avoid_types_on_closure_parameters # conflicts with always_specify_types
50
+
- avoid_unused_constructor_parameters
51
+
- await_only_futures
52
+
- camel_case_types
53
+
- cancel_subscriptions
54
+
# - cascade_invocations # not yet tested
55
+
# - close_sinks # not reliable enough
56
+
# - comment_references # blocked on https://github.com/flutter/flutter/issues/20765
57
+
# - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
58
+
- control_flow_in_finally
59
+
- directives_ordering
60
+
- empty_catches
61
+
- empty_constructor_bodies
62
+
- empty_statements
63
+
- hash_and_equals
64
+
- implementation_imports
65
+
# - invariant_booleans # too many false positives: https://github.com/dart-lang/linter/issues/811
66
+
- iterable_contains_unrelated_type
67
+
# - join_return_with_assignment # not yet tested
68
+
- library_names
69
+
- library_prefixes
70
+
- list_remove_unrelated_type
71
+
# - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/sdk/issues/34181
72
+
- no_adjacent_strings_in_list
73
+
- no_duplicate_case_values
74
+
- non_constant_identifier_names
75
+
# - omit_local_variable_types # opposite of always_specify_types
76
+
# - one_member_abstracts # too many false positives
0 commit comments