Skip to content

Commit c1a520c

Browse files
authored
disable the directives_ordering lint (flutter#27331)
1 parent 9cd516a commit c1a520c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

analysis_options.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ linter:
100100
# - curly_braces_in_flow_control_structures # not required by flutter style
101101
- deprecated_consistency
102102
# - diagnostic_describe_all_properties # not yet tested
103-
- directives_ordering
103+
# TODO: Re-enable directives_ordering once roll https://github.com/flutter/engine/pull/27324 has completed.
104+
# - directives_ordering
104105
# - do_not_use_environment # we do this commonly
105106
- empty_catches
106107
- empty_constructor_bodies

tools/licenses/analysis_options.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ linter:
7575
# - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
7676
- control_flow_in_finally
7777
# - curly_braces_in_flow_control_structures # not yet tested
78-
- directives_ordering
78+
# TODO: Re-enable directives_ordering once roll https://github.com/flutter/engine/pull/27324 has completed.
79+
# - directives_ordering
7980
- empty_catches
8081
- empty_constructor_bodies
8182
- empty_statements

0 commit comments

Comments
 (0)