|
1 | 1 | linter: |
2 | 2 | rules: |
3 | | - - always_use_package_imports |
4 | | - - avoid_dynamic_calls |
5 | | - - avoid_empty_else |
6 | | - - avoid_print |
7 | | - - avoid_relative_lib_imports |
8 | | - - avoid_slow_async_io |
9 | | - - avoid_type_to_string |
10 | | - - avoid_types_as_parameter_names |
11 | | - - avoid_web_libraries_in_flutter |
12 | | - - cancel_subscriptions |
13 | | - - close_sinks |
14 | | - - collection_methods_unrelated_type |
15 | | - - comment_references |
16 | | - - control_flow_in_finally |
17 | | - - deprecated_member_use_from_same_package |
18 | | - - diagnostic_describe_all_properties |
19 | | - - discarded_futures |
20 | | - - empty_statements |
21 | | - - hash_and_equals |
22 | | - - implicit_reopen |
23 | | - - invalid_case_patterns |
24 | | - - invariant_booleans |
25 | | - - iterable_contains_unrelated_type |
26 | | - - list_remove_unrelated_type |
27 | | - - literal_only_boolean_expressions |
28 | | - - no_adjacent_strings_in_list |
29 | | - - no_duplicate_case_values |
30 | | - - no_logic_in_create_state |
31 | | - - prefer_relative_imports |
32 | | - - prefer_void_to_null |
33 | | - - test_types_in_equals |
34 | | - - throw_in_finally |
35 | | - - unnecessary_statements |
36 | | - - unrelated_type_equality_checks |
37 | | - - unsafe_html |
38 | | - - use_build_context_synchronously |
39 | | - - use_key_in_widget_constructors |
40 | | - - always_declare_return_types |
41 | | - - always_put_control_body_on_new_line |
42 | | - - always_put_required_named_parameters_first |
43 | | - - always_specify_types |
44 | | - - annotate_overrides |
45 | | - - avoid_annotating_with_dynamic |
46 | | - - avoid_as |
47 | | - - avoid_bool_literals_in_conditional_expressions |
48 | | - - avoid_catches_without_on_clauses |
49 | | - - avoid_catching_errors |
50 | | - - avoid_classes_with_only_static_members |
51 | | - - avoid_double_and_int_checks |
52 | | - - avoid_equals_and_hash_code_on_mutable_classes |
53 | | - - avoid_escaping_inner_quotes |
54 | | - - avoid_field_initializers_in_const_classes |
55 | | - - avoid_final_parameters |
56 | | - - avoid_function_literals_in_foreach_calls |
57 | | - - avoid_implementing_value_types |
58 | | - - avoid_init_to_null |
59 | | - - avoid_js_rounded_ints |
60 | | - - avoid_multiple_declarations_per_line |
61 | | - - avoid_null_checks_in_equality_operators |
62 | | - - avoid_positional_boolean_parameters |
63 | | - - avoid_private_typedef_functions |
64 | | - - avoid_redundant_argument_values |
65 | | - - avoid_renaming_method_parameters |
66 | | - - avoid_return_types_on_setters |
67 | | - - avoid_returning_null_for_void |
68 | | - - avoid_returning_this |
69 | | - - avoid_setters_without_getters |
70 | | - - avoid_shadowing_type_parameters |
71 | | - - avoid_single_cascade_in_expression_statements |
72 | | - - avoid_types_on_closure_parameters |
73 | | - - avoid_unnecessary_containers |
74 | | - - avoid_unused_constructor_parameters |
75 | | - - avoid_void_async |
76 | | - - await_only_futures |
77 | | - - camel_case_extensions |
78 | | - - camel_case_types |
79 | | - - cascade_invocations |
80 | | - - cast_nullable_to_non_nullable |
81 | | - - combinators_ordering |
82 | | - - conditional_uri_does_not_exist |
83 | | - - constant_identifier_names |
84 | | - - curly_braces_in_flow_control_structures |
85 | | - - dangling_library_doc_comments |
86 | | - - deprecated_consistency |
87 | | - - directives_ordering |
88 | | - - do_not_use_environment |
89 | | - - empty_catches |
90 | | - - empty_constructor_bodies |
91 | | - - enable_null_safety |
92 | | - - eol_at_end_of_file |
93 | | - - exhaustive_cases |
94 | | - - file_names |
95 | | - - flutter_style_todos |
96 | | - - implementation_imports |
97 | | - - implicit_call_tearoffs |
98 | | - - join_return_with_assignment |
99 | | - - leading_newlines_in_multiline_strings |
100 | | - - library_annotations |
101 | | - - library_names |
102 | | - - library_prefixes |
103 | | - - library_private_types_in_public_api |
104 | | - - lines_longer_than_80_chars |
105 | | - - matching_super_parameters |
106 | | - - missing_whitespace_between_adjacent_strings |
107 | | - - no_default_cases |
108 | | - - no_leading_underscores_for_library_prefixes |
109 | | - - no_leading_underscores_for_local_identifiers |
110 | | - - no_literal_bool_comparisons |
111 | | - - no_runtimeType_toString |
112 | | - - non_constant_identifier_names |
113 | | - - noop_primitive_operations |
114 | | - - null_check_on_nullable_type_parameter |
115 | | - - null_closures |
116 | | - - omit_local_variable_types |
117 | | - - one_member_abstracts |
118 | | - - only_throw_errors |
119 | | - - overridden_fields |
120 | | - - package_api_docs |
121 | | - - package_prefixed_library_names |
122 | | - - parameter_assignments |
123 | | - - prefer_adjacent_string_concatenation |
124 | | - - prefer_asserts_in_initializer_lists |
125 | | - - prefer_asserts_with_message |
126 | | - - prefer_bool_in_asserts |
127 | | - - prefer_collection_literals |
128 | | - - prefer_conditional_assignment |
129 | | - - prefer_const_constructors |
130 | | - - prefer_const_constructors_in_immutables |
131 | | - - prefer_const_declarations |
132 | | - - prefer_const_literals_to_create_immutables |
133 | | - - prefer_constructors_over_static_methods |
134 | | - - prefer_contains |
135 | | - - prefer_double_quotes |
136 | | - - prefer_equal_for_default_values |
137 | | - - prefer_expression_function_bodies |
138 | | - - prefer_final_fields |
139 | | - - prefer_final_in_for_each |
140 | | - - prefer_final_locals |
141 | | - - prefer_final_parameters |
142 | | - - prefer_for_elements_to_map_fromIterable |
143 | | - - prefer_foreach |
144 | | - - prefer_function_declarations_over_variables |
145 | | - - prefer_generic_function_type_aliases |
146 | | - - prefer_if_elements_to_conditional_expressions |
147 | | - - prefer_if_null_operators |
148 | | - - prefer_initializing_formals |
149 | | - - prefer_inlined_adds |
150 | | - - prefer_int_literals |
151 | | - - prefer_interpolation_to_compose_strings |
152 | | - - prefer_is_empty |
153 | | - - prefer_is_not_empty |
154 | | - - prefer_is_not_operator |
155 | | - - prefer_iterable_whereType |
156 | | - - prefer_mixin |
157 | | - - prefer_null_aware_method_calls |
158 | | - - prefer_null_aware_operators |
159 | | - - prefer_single_quotes |
160 | | - - prefer_spread_collections |
161 | | - - prefer_typing_uninitialized_variables |
162 | | - - provide_deprecation_message |
163 | | - - public_member_api_docs |
164 | | - - recursive_getters |
165 | | - - require_trailing_commas |
166 | | - - sized_box_for_whitespace |
167 | | - - sized_box_shrink_expand |
168 | | - - slash_for_doc_comments |
169 | | - - sort_child_properties_last |
170 | | - - sort_constructors_first |
171 | | - - sort_unnamed_constructors_first |
172 | | - - super_goes_last |
173 | | - - tighten_type_of_initializing_formals |
174 | | - - type_annotate_public_apis |
175 | | - - type_init_formals |
176 | | - - type_literal_in_constant_pattern |
177 | | - - unawaited_futures |
178 | | - - unnecessary_await_in_return |
179 | | - - unnecessary_brace_in_string_interps |
180 | | - - unnecessary_breaks |
181 | | - - unnecessary_const |
182 | | - - unnecessary_constructor_name |
183 | | - - unnecessary_final |
184 | | - - unnecessary_getters_setters |
185 | | - - unnecessary_lambdas |
186 | | - - unnecessary_late |
187 | | - - unnecessary_library_directive |
188 | | - - unnecessary_new |
189 | | - - unnecessary_null_aware_assignments |
190 | | - - unnecessary_null_aware_operator_on_extension_on_nullable |
191 | | - - unnecessary_null_checks |
192 | | - - unnecessary_null_in_if_null_operators |
193 | | - - unnecessary_nullable_for_final_variable_declarations |
194 | | - - unnecessary_overrides |
195 | | - - unnecessary_parenthesis |
196 | | - - unnecessary_raw_strings |
197 | | - - unnecessary_string_escapes |
198 | | - - unnecessary_string_interpolations |
199 | | - - unnecessary_this |
200 | | - - unnecessary_to_list_in_spreads |
201 | | - - unreachable_from_main |
202 | | - - use_colored_box |
203 | | - - use_decorated_box |
204 | | - - use_enums |
205 | | - - use_full_hex_values_for_flutter_colors |
206 | | - - use_function_type_syntax_for_parameters |
207 | | - - use_if_null_to_convert_nulls_to_bools |
208 | | - - use_is_even_rather_than_modulo |
209 | | - - use_late_for_private_fields_and_variables |
210 | | - - use_named_constants |
211 | | - - use_raw_strings |
212 | | - - use_rethrow_when_possible |
213 | | - - use_setters_to_change_properties |
214 | | - - use_string_buffers |
215 | | - - use_string_in_part_of_directives |
216 | | - - use_super_parameters |
217 | | - - use_test_throws_matchers |
218 | | - - use_to_and_as_if_applicable |
219 | | - - depend_on_referenced_packages |
220 | | - - package_names |
221 | | - - secure_pubspec_urls |
222 | 3 | - abi_specific_integer_invalid |
223 | 4 | - abstract_field_initializer |
224 | 5 | - argument_type_not_assignable_to_error_handler |
@@ -247,6 +28,7 @@ linter: |
247 | 28 | - invalid_return_type_for_catch_error |
248 | 29 | - invalid_super_formal_parameter_location |
249 | 30 | - invalid_type_argument_in_const_literal |
| 31 | + - invalid_visible_outside_template_annotation |
250 | 32 | - invocation_of_non_function_expression |
251 | 33 | - missing_default_value_for_parameter |
252 | 34 | - non_constant_map_element |
|
0 commit comments