# - always_put_required_named_parameters_first # we prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219
avoid_field_initializers_in_const_classes:true
- always_require_non_null_named_parameters
avoid_function_literals_in_foreach_calls:true
#- always_specify_types
avoid_slow_async_io:true
- annotate_overrides
avoid_unused_constructor_parameters:true
# - avoid_annotating_with_dynamic # not yet tested
avoid_void_async:true
# - avoid_as
cancel_subscriptions:true
- avoid_bool_literals_in_conditional_expressions
directives_ordering:true
# - avoid_catches_without_on_clauses # not yet tested
no_adjacent_strings_in_list:true
# - avoid_catching_errors # not yet tested
package_api_docs:true
# - avoid_classes_with_only_static_members # not yet tested
prefer_asserts_in_initializer_lists:true
# - avoid_double_and_int_checks # only useful when targeting JS runtime
prefer_final_in_for_each:true
- avoid_empty_else
prefer_final_locals:true
- avoid_field_initializers_in_const_classes
prefer_foreach:true
- avoid_function_literals_in_foreach_calls
sort_constructors_first:true
# - avoid_implementing_value_types # not yet tested
sort_unnamed_constructors_first:true
- avoid_init_to_null
test_types_in_equals:true
# - avoid_js_rounded_ints # only useful when targeting JS runtime
throw_in_finally:true
- avoid_null_checks_in_equality_operators
unnecessary_null_aware_assignments:true
# - avoid_positional_boolean_parameters # not yet tested
unnecessary_statements:true
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
unrelated_type_equality_checks:true
- avoid_relative_lib_imports
- avoid_renaming_method_parameters
- avoid_return_types_on_setters
# - avoid_returning_null # not yet tested
# - avoid_returning_null_for_future # not yet tested
- avoid_returning_null_for_void
# - avoid_returning_this # not yet tested
# - avoid_setters_without_getters # not yet tested
# - avoid_shadowing_type_parameters # not yet tested
# - avoid_single_cascade_in_expression_statements # not yet tested
- avoid_slow_async_io
- avoid_types_as_parameter_names
# - avoid_types_on_closure_parameters # not yet tested
- avoid_unused_constructor_parameters
- avoid_void_async
- await_only_futures
- camel_case_types
- cancel_subscriptions
# - cascade_invocations # not yet tested
# - close_sinks # not reliable enough
# - comment_references # blocked on https://github.com/flutter/flutter/issues/20765