@@ -3,10 +3,10 @@ linter:
3
3
- always_declare_return_types
4
4
- always_put_control_body_on_new_line
5
5
- always_put_required_named_parameters_first
6
- - always_require_non_null_named_parameters
7
6
- always_specify_types
8
7
- always_use_package_imports
9
8
- annotate_overrides
9
+ - annotate_redeclares
10
10
- avoid_annotating_with_dynamic
11
11
- avoid_bool_literals_in_conditional_expressions
12
12
- avoid_catches_without_on_clauses
@@ -18,6 +18,7 @@ linter:
18
18
- avoid_equals_and_hash_code_on_mutable_classes
19
19
- avoid_escaping_inner_quotes
20
20
- avoid_field_initializers_in_const_classes
21
+ - avoid_final_parameters
21
22
- avoid_function_literals_in_foreach_calls
22
23
- avoid_implementing_value_types
23
24
- avoid_init_to_null
@@ -31,8 +32,6 @@ linter:
31
32
- avoid_relative_lib_imports
32
33
- avoid_renaming_method_parameters
33
34
- avoid_return_types_on_setters
34
- - avoid_returning_null
35
- - avoid_returning_null_for_future
36
35
- avoid_returning_null_for_void
37
36
- avoid_returning_this
38
37
- avoid_setters_without_getters
@@ -53,39 +52,56 @@ linter:
53
52
- cascade_invocations
54
53
- cast_nullable_to_non_nullable
55
54
- close_sinks
55
+ - collection_methods_unrelated_type
56
+ - combinators_ordering
56
57
- comment_references
58
+ - conditional_uri_does_not_exist
57
59
- constant_identifier_names
58
60
- control_flow_in_finally
59
61
- curly_braces_in_flow_control_structures
62
+ - dangling_library_doc_comments
60
63
- depend_on_referenced_packages
61
64
- deprecated_consistency
65
+ - deprecated_member_use_from_same_package
62
66
- diagnostic_describe_all_properties
63
67
- directives_ordering
68
+ - discarded_futures
64
69
- do_not_use_environment
70
+ - document_ignores
65
71
- empty_catches
66
72
- empty_constructor_bodies
67
73
- empty_statements
74
+ - eol_at_end_of_file
68
75
- exhaustive_cases
69
76
- file_names
70
77
- flutter_style_todos
71
78
- hash_and_equals
72
79
- implementation_imports
73
- - invariant_booleans
74
- - iterable_contains_unrelated_type
80
+ - implicit_call_tearoffs
81
+ - implicit_reopen
82
+ - invalid_case_patterns
83
+ - invalid_runtime_check_with_js_interop_types
75
84
- join_return_with_assignment
76
85
- leading_newlines_in_multiline_strings
86
+ - library_annotations
77
87
- library_names
78
88
- library_prefixes
79
89
- library_private_types_in_public_api
80
90
- lines_longer_than_80_chars
81
- - list_remove_unrelated_type
82
91
- literal_only_boolean_expressions
92
+ - matching_super_parameters
93
+ - missing_code_block_language_in_doc_comment
83
94
- missing_whitespace_between_adjacent_strings
84
95
- no_adjacent_strings_in_list
85
96
- no_default_cases
86
97
- no_duplicate_case_values
98
+ - no_leading_underscores_for_library_prefixes
99
+ - no_leading_underscores_for_local_identifiers
100
+ - no_literal_bool_comparisons
87
101
- no_logic_in_create_state
88
102
- no_runtimeType_toString
103
+ - no_self_assignments
104
+ - no_wildcard_variable_uses
89
105
- non_constant_identifier_names
90
106
- noop_primitive_operations
91
107
- null_check_on_nullable_type_parameter
@@ -110,7 +126,6 @@ linter:
110
126
- prefer_constructors_over_static_methods
111
127
- prefer_contains
112
128
- prefer_double_quotes
113
- - prefer_equal_for_default_values
114
129
- prefer_expression_function_bodies
115
130
- prefer_final_fields
116
131
- prefer_final_in_for_each
@@ -142,7 +157,9 @@ linter:
142
157
- public_member_api_docs
143
158
- recursive_getters
144
159
- require_trailing_commas
160
+ - secure_pubspec_urls
145
161
- sized_box_for_whitespace
162
+ - sized_box_shrink_expand
146
163
- slash_for_doc_comments
147
164
- sort_child_properties_last
148
165
- sort_constructors_first
@@ -153,15 +170,23 @@ linter:
153
170
- tighten_type_of_initializing_formals
154
171
- type_annotate_public_apis
155
172
- type_init_formals
173
+ - type_literal_in_constant_pattern
156
174
- unawaited_futures
175
+ - unintended_html_in_doc_comment
157
176
- unnecessary_await_in_return
158
177
- unnecessary_brace_in_string_interps
178
+ - unnecessary_breaks
159
179
- unnecessary_const
180
+ - unnecessary_constructor_name
160
181
- unnecessary_final
161
182
- unnecessary_getters_setters
162
183
- unnecessary_lambdas
184
+ - unnecessary_late
185
+ - unnecessary_library_directive
186
+ - unnecessary_library_name
163
187
- unnecessary_new
164
188
- unnecessary_null_aware_assignments
189
+ - unnecessary_null_aware_operator_on_extension_on_nullable
165
190
- unnecessary_null_checks
166
191
- unnecessary_null_in_if_null_operators
167
192
- unnecessary_nullable_for_final_variable_declarations
@@ -172,9 +197,14 @@ linter:
172
197
- unnecessary_string_escapes
173
198
- unnecessary_string_interpolations
174
199
- unnecessary_this
200
+ - unnecessary_to_list_in_spreads
201
+ - unreachable_from_main
175
202
- unrelated_type_equality_checks
176
203
- unsafe_html
177
204
- use_build_context_synchronously
205
+ - use_colored_box
206
+ - use_decorated_box
207
+ - use_enums
178
208
- use_full_hex_values_for_flutter_colors
179
209
- use_function_type_syntax_for_parameters
180
210
- use_if_null_to_convert_nulls_to_bools
@@ -186,6 +216,8 @@ linter:
186
216
- use_rethrow_when_possible
187
217
- use_setters_to_change_properties
188
218
- use_string_buffers
219
+ - use_string_in_part_of_directives
220
+ - use_super_parameters
189
221
- use_test_throws_matchers
190
222
- use_to_and_as_if_applicable
191
223
- valid_regexps
0 commit comments