restore the directives_ordering lint (flutter/engine#27346)

This commit is contained in:
Devon Carew
2021-07-13 08:26:02 -07:00
committed by GitHub
parent 89a148b382
commit cda2feb215
3 changed files with 3 additions and 4 deletions

View File

@@ -100,8 +100,7 @@ linter:
# - curly_braces_in_flow_control_structures # not required by flutter style
- deprecated_consistency
# - diagnostic_describe_all_properties # not yet tested
# TODO: Re-enable directives_ordering once roll https://github.com/flutter/engine/pull/27324 has completed.
# - directives_ordering
- directives_ordering
# - do_not_use_environment # we do this commonly
- empty_catches
- empty_constructor_bodies

View File

@@ -1,2 +1,2 @@
Signature: 5754c1ee0193299dad20012e408d4ce2
Signature: 17e2c7f169a5804317b8f79ab1f8a838

View File

@@ -6,8 +6,8 @@ import 'dart:collection';
import 'dart:convert';
import 'dart:io' as io;
import 'package:path/path.dart' as path;
import 'package:archive/archive.dart' as a;
import 'package:path/path.dart' as path;
import 'cache.dart';
import 'limits.dart';