@@ -112,19 +112,19 @@ solid_lints:
112112 prefer_match_file_name : true
113113 prefer_mirror_test_structure : true
114114 proper_super_calls : true
115- # Disabled for now due to conflict with
116- # `always_put_required_named_parameters_first`.
117- named_parameters_ordering : false
115+ named_parameters_ordering : true
118116 use_nearest_context : true
119117 use_descriptive_names_for_type_parameters : true
120118
121119linter :
122120 rules :
123121 - always_declare_return_types
124- - always_put_required_named_parameters_first
122+ # Disabled in favor of `solid_lints` rule `named_parameters_ordering`.
123+ # - always_put_required_named_parameters_first
125124 - always_use_package_imports
126125 - annotate_overrides
127126 - avoid_bool_literals_in_conditional_expressions
127+ - avoid_catches_without_on_clauses
128128 - avoid_catching_errors
129129 - avoid_double_and_int_checks
130130 - avoid_dynamic_calls
@@ -146,18 +146,21 @@ linter:
146146 - avoid_renaming_method_parameters
147147 - avoid_return_types_on_setters
148148 - avoid_returning_null_for_void
149+ - avoid_returning_this
149150 - avoid_setters_without_getters
150151 - avoid_shadowing_type_parameters
151152 - avoid_single_cascade_in_expression_statements
152153 - avoid_type_to_string
153154 - avoid_types_as_parameter_names
155+ - avoid_types_on_closure_parameters
154156 - avoid_unnecessary_containers
155157 - avoid_unused_constructor_parameters
156158 - avoid_void_async
157159 - await_only_futures
158160 - camel_case_extensions
159161 - camel_case_types
160162 - cancel_subscriptions
163+ - cascade_invocations
161164 # Similar to avoid-non-null-assertion, which is already used,
162165 # basically it suggests to not ignore possible null value
163166 - cast_nullable_to_non_nullable
@@ -171,6 +174,8 @@ linter:
171174 - deprecated_consistency
172175 # - diagnostic_describe_all_properties
173176 - directives_ordering
177+ - discarded_futures
178+ - document_ignores
174179 # Pretty much agree with Passy & linter package.
175180 # Our use case for Flutter for web where there are no flavors yet.
176181 # So using dart-define is helpful.
@@ -198,8 +203,10 @@ linter:
198203 - no_duplicate_case_values
199204 - no_leading_underscores_for_library_prefixes
200205 - no_leading_underscores_for_local_identifiers
206+ - no_literal_bool_comparisons
201207 - no_logic_in_create_state
202208 - no_runtimeType_toString
209+ - no_wildcard_variable_uses
203210 - non_constant_identifier_names
204211 - noop_primitive_operations
205212 - null_check_on_nullable_type_parameter
@@ -276,7 +283,9 @@ linter:
276283 - unnecessary_breaks
277284 - unnecessary_const
278285 - unnecessary_getters_setters
286+ - unnecessary_ignore
279287 - unnecessary_lambdas
288+ - unnecessary_late
280289 - unnecessary_new
281290 - unnecessary_null_aware_assignments
282291 - unnecessary_null_checks
@@ -290,10 +299,14 @@ linter:
290299 - unnecessary_string_interpolations
291300 - unnecessary_this
292301 - unnecessary_to_list_in_spreads
302+ - unnecessary_unawaited
303+ - unnecessary_underscores
304+ - unreachable_from_main
293305 - unrelated_type_equality_checks
294306 - use_build_context_synchronously
295307 - use_colored_box
296308 - use_decorated_box
309+ - use_enums
297310 - use_full_hex_values_for_flutter_colors
298311 - use_function_type_syntax_for_parameters
299312 - use_is_even_rather_than_modulo
@@ -304,6 +317,7 @@ linter:
304317 - use_string_buffers
305318 - use_super_parameters
306319 - use_test_throws_matchers
320+ - use_truncating_division
307321 - valid_regexps
308322 - void_checks
309323
0 commit comments