disable the directives_ordering lint (flutter/engine#27331)

This commit is contained in:
Devon Carew
2021-07-12 11:31:46 -07:00
committed by GitHub
parent 595fdcf51d
commit 22df124af6
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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