From d499f6c0e0803372463afedea4d565db81916344 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Mon, 12 Jul 2021 10:38:08 -0700 Subject: [PATCH] disable the directives_ordering lint --- analysis_options.yaml | 3 ++- tools/licenses/analysis_options.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 66f5b5ca69a36..12bb0f5452d37 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -100,7 +100,8 @@ linter: # - curly_braces_in_flow_control_structures # not required by flutter style - deprecated_consistency # - diagnostic_describe_all_properties # not yet tested - - directives_ordering + # TODO: Re-enable directives_ordering once roll https://github.com/flutter/engine/pull/27324 has completed. + # - directives_ordering # - do_not_use_environment # we do this commonly - empty_catches - empty_constructor_bodies diff --git a/tools/licenses/analysis_options.yaml b/tools/licenses/analysis_options.yaml index a4294d767b478..56f88b45e1470 100644 --- a/tools/licenses/analysis_options.yaml +++ b/tools/licenses/analysis_options.yaml @@ -75,7 +75,8 @@ linter: # - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204 - control_flow_in_finally # - curly_braces_in_flow_control_structures # not yet tested - - directives_ordering + # TODO: Re-enable directives_ordering once roll https://github.com/flutter/engine/pull/27324 has completed. + # - directives_ordering - empty_catches - empty_constructor_bodies - empty_statements