From 9f9c4722556132840adae213ad2f2e2de344c2c0 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sat, 23 Feb 2019 01:43:58 +0100 Subject: [PATCH] DartLinter: Enable a few more options --- analysis_options.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index d83ed179..5679d566 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -51,7 +51,7 @@ linter: # - avoid_as # - avoid_catches_without_on_clauses # not yet tested # - avoid_catching_errors # not yet tested - # - avoid_classes_with_only_static_members # not yet tested + - avoid_classes_with_only_static_members # - avoid_function_literals_in_foreach_calls # not yet tested - avoid_init_to_null - avoid_null_checks_in_equality_operators @@ -75,7 +75,7 @@ linter: - non_constant_identifier_names # - omit_local_variable_types # opposite of always_specify_types # - one_member_abstracts # too many false positives - # - only_throw_errors # https://github.com/flutter/flutter/issues/5792 + - only_throw_errors - overridden_fields - package_api_docs - package_prefixed_library_names