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
51
-
- always_require_non_null_named_parameters
52
-
- always_specify_types
53
-
- annotate_overrides
54
-
# - avoid_annotating_with_dynamic # conflicts with always_specify_types
55
-
# - avoid_as # required for implicit-casts: true
56
-
- avoid_bool_literals_in_conditional_expressions
57
-
# - avoid_catches_without_on_clauses # we do this commonly
58
-
# - avoid_catching_errors # we do this commonly
59
-
- avoid_classes_with_only_static_members
60
-
# - avoid_double_and_int_checks # only useful when targeting JS runtime
61
6
- avoid_empty_else
62
-
- avoid_equals_and_hash_code_on_mutable_classes
63
-
- avoid_field_initializers_in_const_classes
64
-
- avoid_function_literals_in_foreach_calls
65
-
# - avoid_implementing_value_types # not yet tested
66
-
- avoid_init_to_null
67
-
# - avoid_js_rounded_ints # only useful when targeting JS runtime
68
-
- avoid_null_checks_in_equality_operators
69
-
# - avoid_positional_boolean_parameters # not yet tested
70
-
# - avoid_print # not yet tested
71
-
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
72
-
# - avoid_redundant_argument_values # not yet tested
73
-
- avoid_relative_lib_imports
74
-
- avoid_renaming_method_parameters
75
-
- avoid_return_types_on_setters
76
-
# - avoid_returning_null # there are plenty of valid reasons to return null
77
-
# - avoid_returning_null_for_future # not yet tested
78
-
- avoid_returning_null_for_void
79
-
# - avoid_returning_this # there are plenty of valid reasons to return this
80
-
# - avoid_setters_without_getters # not yet tested
81
-
# - avoid_shadowing_type_parameters # not yet tested
82
-
- avoid_single_cascade_in_expression_statements
83
-
- avoid_slow_async_io
84
-
- avoid_types_as_parameter_names
85
-
# - avoid_types_on_closure_parameters # conflicts with always_specify_types
86
-
# - avoid_unnecessary_containers # not yet tested
87
-
- avoid_unused_constructor_parameters
88
-
- avoid_void_async
89
-
# - avoid_web_libraries_in_flutter # not yet tested
90
7
- await_only_futures
8
+
- avoid_returning_null_for_void
91
9
- camel_case_extensions
92
10
- camel_case_types
93
11
- cancel_subscriptions
94
-
# - cascade_invocations # not yet tested
95
-
# - close_sinks # not reliable enough
96
-
# - comment_references # blocked on https://github.com/flutter/flutter/issues/20765
97
-
# - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
98
-
- control_flow_in_finally
99
-
# - curly_braces_in_flow_control_structures # not yet tested
100
-
# - diagnostic_describe_all_properties # not yet tested
101
12
- directives_ordering
102
-
- empty_catches
103
-
- empty_constructor_bodies
104
-
- empty_statements
105
-
# - file_names # not yet tested
106
13
- flutter_style_todos
107
-
- hash_and_equals
108
-
- implementation_imports
109
-
# - invariant_booleans # too many false positives: https://github.com/dart-lang/linter/issues/811
110
-
- iterable_contains_unrelated_type
111
-
# - join_return_with_assignment # not yet tested
112
-
- library_names
113
-
- library_prefixes
114
-
# - lines_longer_than_80_chars # not yet tested
115
-
- list_remove_unrelated_type
116
-
# - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/sdk/issues/34181
117
-
# - missing_whitespace_between_adjacent_strings # not yet tested
118
-
- no_adjacent_strings_in_list
119
-
- no_duplicate_case_values
120
-
# - no_logic_in_create_state # not yet tested
121
-
# - no_runtimeType_toString # not yet tested
122
-
- non_constant_identifier_names
123
-
# - null_closures # not yet tested
124
-
# - omit_local_variable_types # opposite of always_specify_types
125
-
# - one_member_abstracts # too many false positives
0 commit comments