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