diff --git a/analysis_options.yaml b/analysis_options.yaml index c64e20a9b8..1bb8aac41e 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -55,6 +55,7 @@ linter: - annotate_overrides # - avoid_annotating_with_dynamic # conflicts with always_specify_types - avoid_as + # - avoid_bool_literals_in_conditional_expressions # not yet tested # - avoid_catches_without_on_clauses # we do this commonly # - avoid_catching_errors # we do this commonly - avoid_classes_with_only_static_members @@ -63,12 +64,16 @@ linter: - avoid_init_to_null - avoid_null_checks_in_equality_operators # - avoid_positional_boolean_parameters # not yet tested + # - avoid_private_typedef_functions # not yet tested - avoid_relative_lib_imports + - avoid_renaming_method_parameters - avoid_return_types_on_setters # - avoid_returning_null # we do this commonly # - avoid_returning_this # https://github.com/dart-lang/linter/issues/842 # - avoid_setters_without_getters # not yet tested + # - avoid_single_cascade_in_expression_statements # not yet tested - avoid_slow_async_io + # - avoid_types_as_parameter_names # https://github.com/dart-lang/linter/pull/954/files # - avoid_types_on_closure_parameters # conflicts with always_specify_types # - avoid_unused_constructor_parameters # https://github.com/dart-lang/linter/pull/847 - await_only_futures @@ -114,6 +119,7 @@ linter: - prefer_const_literals_to_create_immutables # - prefer_constructors_over_static_methods # not yet tested - prefer_contains + # - prefer_equal_for_default_values # not yet tested # - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods - prefer_final_fields - prefer_final_locals diff --git a/analysis_options_repo.yaml b/analysis_options_repo.yaml index 9e2f1d490c..893a9af649 100644 --- a/analysis_options_repo.yaml +++ b/analysis_options_repo.yaml @@ -48,6 +48,7 @@ linter: - annotate_overrides # - avoid_annotating_with_dynamic # conflicts with always_specify_types - avoid_as + # - avoid_bool_literals_in_conditional_expressions # not yet tested # - avoid_catches_without_on_clauses # we do this commonly # - avoid_catching_errors # we do this commonly - avoid_classes_with_only_static_members @@ -56,12 +57,16 @@ linter: - avoid_init_to_null - avoid_null_checks_in_equality_operators # - avoid_positional_boolean_parameters # not yet tested + # - avoid_private_typedef_functions # not yet tested - avoid_relative_lib_imports + - avoid_renaming_method_parameters - avoid_return_types_on_setters # - avoid_returning_null # we do this commonly # - avoid_returning_this # https://github.com/dart-lang/linter/issues/842 # - avoid_setters_without_getters # not yet tested + # - avoid_single_cascade_in_expression_statements # not yet tested - avoid_slow_async_io + # - avoid_types_as_parameter_names # https://github.com/dart-lang/linter/pull/954/files # - avoid_types_on_closure_parameters # conflicts with always_specify_types # - avoid_unused_constructor_parameters # https://github.com/dart-lang/linter/pull/847 - await_only_futures @@ -107,6 +112,7 @@ linter: - prefer_const_literals_to_create_immutables # - prefer_constructors_over_static_methods # not yet tested - prefer_contains + # - prefer_equal_for_default_values # not yet tested # - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods - prefer_final_fields - prefer_final_locals