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
30
+
32
31
- always_require_non_null_named_parameters
33
32
- annotate_overrides
34
-
# - avoid_annotating_with_dynamic # conflicts with always_specify_types
35
-
# - avoid_bool_literals_in_conditional_expressions # not yet tested
36
-
# - avoid_catches_without_on_clauses # we do this commonly
37
-
# - avoid_catching_errors # we do this commonly
38
-
- avoid_classes_with_only_static_members
39
-
# - avoid_double_and_int_checks # only useful when targeting JS runtime
40
33
- avoid_empty_else
41
34
- avoid_field_initializers_in_const_classes
42
35
- avoid_function_literals_in_foreach_calls
43
-
# - avoid_implementing_value_types # not yet tested
44
36
- avoid_init_to_null
45
-
# - avoid_js_rounded_ints # only useful when targeting JS runtime
46
37
- avoid_null_checks_in_equality_operators
47
-
# - avoid_positional_boolean_parameters # not yet tested
48
-
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
49
38
- avoid_relative_lib_imports
50
39
- avoid_renaming_method_parameters
51
40
- avoid_return_types_on_setters
52
-
# - avoid_returning_null # there are plenty of valid reasons to return null
53
-
# - avoid_returning_null_for_future # not yet tested
54
41
- avoid_returning_null_for_void
55
-
# - avoid_returning_this # there are plenty of valid reasons to return this
56
-
# - avoid_setters_without_getters # not yet tested
57
-
# - avoid_shadowing_type_parameters # not yet tested
58
-
# - avoid_single_cascade_in_expression_statements # not yet tested
59
42
- avoid_slow_async_io
60
43
- avoid_types_as_parameter_names
61
-
# - avoid_types_on_closure_parameters # conflicts with always_specify_types
62
44
- avoid_unused_constructor_parameters
63
45
- avoid_void_async
64
46
- await_only_futures
65
47
- camel_case_types
66
48
- cancel_subscriptions
67
-
# - cascade_invocations # not yet tested
68
-
# - close_sinks # not reliable enough
69
-
# - comment_references # blocked on https://github.com/flutter/flutter/issues/20765
70
-
# - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
71
49
- control_flow_in_finally
72
-
# - curly_braces_in_flow_control_structures # not yet tested
73
50
- directives_ordering
74
51
- empty_catches
75
52
- empty_constructor_bodies
76
53
- empty_statements
77
-
# - file_names # not yet tested
78
54
- flutter_style_todos
79
55
- hash_and_equals
80
56
- implementation_imports
81
-
# - invariant_booleans # too many false positives: https://github.com/dart-lang/linter/issues/811
82
57
- iterable_contains_unrelated_type
83
-
# - join_return_with_assignment # not yet tested
84
58
- library_names
85
59
- library_prefixes
86
-
# - lines_longer_than_80_chars # not yet tested
87
60
- list_remove_unrelated_type
88
-
# - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/sdk/issues/34181
89
61
- no_adjacent_strings_in_list
90
62
- no_duplicate_case_values
91
63
- non_constant_identifier_names
92
-
# - null_closures # not yet tested
93
-
# - omit_local_variable_types # opposite of always_specify_types
94
-
# - one_member_abstracts # too many false positives
0 commit comments