@@ -115,19 +115,19 @@ solid_lints:
115115 prefer_match_file_name : true
116116 prefer_mirror_test_structure : true
117117 proper_super_calls : true
118- # Disabled for now due to conflict with
119- # `always_put_required_named_parameters_first`.
120- named_parameters_ordering : false
118+ named_parameters_ordering : true
121119 use_nearest_context : true
122120 use_descriptive_names_for_type_parameters : true
123121
124122linter :
125123 rules :
126124 - always_declare_return_types
127- - always_put_required_named_parameters_first
125+ # Disabled in favor of `solid_lints` rule `named_parameters_ordering`.
126+ # - always_put_required_named_parameters_first
128127 - always_use_package_imports
129128 - annotate_overrides
130129 - avoid_bool_literals_in_conditional_expressions
130+ - avoid_catches_without_on_clauses
131131 - avoid_catching_errors
132132 - avoid_double_and_int_checks
133133 - avoid_dynamic_calls
@@ -149,18 +149,21 @@ linter:
149149 - avoid_renaming_method_parameters
150150 - avoid_return_types_on_setters
151151 - avoid_returning_null_for_void
152+ - avoid_returning_this
152153 - avoid_setters_without_getters
153154 - avoid_shadowing_type_parameters
154155 - avoid_single_cascade_in_expression_statements
155156 - avoid_type_to_string
156157 - avoid_types_as_parameter_names
158+ - avoid_types_on_closure_parameters
157159 - avoid_unnecessary_containers
158160 - avoid_unused_constructor_parameters
159161 - avoid_void_async
160162 - await_only_futures
161163 - camel_case_extensions
162164 - camel_case_types
163165 - cancel_subscriptions
166+ - cascade_invocations
164167 # Similar to avoid-non-null-assertion, which is already used,
165168 # basically it suggests to not ignore possible null value
166169 - cast_nullable_to_non_nullable
@@ -174,6 +177,8 @@ linter:
174177 - deprecated_consistency
175178 # - diagnostic_describe_all_properties
176179 - directives_ordering
180+ - discarded_futures
181+ - document_ignores
177182 # Pretty much agree with Passy & linter package.
178183 # Our use case for Flutter for web where there are no flavors yet.
179184 # So using dart-define is helpful.
@@ -201,8 +206,10 @@ linter:
201206 - no_duplicate_case_values
202207 - no_leading_underscores_for_library_prefixes
203208 - no_leading_underscores_for_local_identifiers
209+ - no_literal_bool_comparisons
204210 - no_logic_in_create_state
205211 - no_runtimeType_toString
212+ - no_wildcard_variable_uses
206213 - non_constant_identifier_names
207214 - noop_primitive_operations
208215 - null_check_on_nullable_type_parameter
@@ -279,7 +286,9 @@ linter:
279286 - unnecessary_breaks
280287 - unnecessary_const
281288 - unnecessary_getters_setters
289+ - unnecessary_ignore
282290 - unnecessary_lambdas
291+ - unnecessary_late
283292 - unnecessary_new
284293 - unnecessary_null_aware_assignments
285294 - unnecessary_null_checks
@@ -293,10 +302,14 @@ linter:
293302 - unnecessary_string_interpolations
294303 - unnecessary_this
295304 - unnecessary_to_list_in_spreads
305+ - unnecessary_unawaited
306+ - unnecessary_underscores
307+ - unreachable_from_main
296308 - unrelated_type_equality_checks
297309 - use_build_context_synchronously
298310 - use_colored_box
299311 - use_decorated_box
312+ - use_enums
300313 - use_full_hex_values_for_flutter_colors
301314 - use_function_type_syntax_for_parameters
302315 - use_is_even_rather_than_modulo
@@ -307,6 +320,7 @@ linter:
307320 - use_string_buffers
308321 - use_super_parameters
309322 - use_test_throws_matchers
323+ - use_truncating_division
310324 - valid_regexps
311325 - void_checks
312326
0 commit comments