diff --git a/analysis_options.yaml b/analysis_options.yaml index 4b977101b..2e396b911 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -44,6 +44,7 @@ linter: rules: # - prefer_const_literals_to_create_immutables # - avoid_classes_with_only_static_members + # - avoid_function_literals_in_foreach_calls # these rules are documented on and in the same order as # the Dart Lint rules page to make maintenance easier # https://github.com/dart-lang/linter/blob/master/example/all.yaml @@ -61,7 +62,6 @@ linter: # - avoid_double_and_int_checks # only useful when targeting JS runtime - avoid_empty_else - avoid_field_initializers_in_const_classes - - avoid_function_literals_in_foreach_calls - avoid_init_to_null # - avoid_js_rounded_ints # only useful when targeting JS runtime - avoid_null_checks_in_equality_operators