From 1105c8b956e4f990eceb935324f18bddc67c3a9e Mon Sep 17 00:00:00 2001 From: Phil Quitslund Date: Thu, 22 Apr 2021 21:24:02 -0700 Subject: [PATCH] ignore directives ordering in generated code (#81017) --- dev/bots/analyze_sample_code.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/bots/analyze_sample_code.dart b/dev/bots/analyze_sample_code.dart index 052bf4c49f..94574a4a09 100644 --- a/dev/bots/analyze_sample_code.dart +++ b/dev/bots/analyze_sample_code.dart @@ -264,6 +264,7 @@ class SampleChecker { List get headers { return _headers ??= [ '// generated code', + '// ignore_for_file: directives_ordering', '// ignore_for_file: unused_import', '// ignore_for_file: unused_element', '// ignore_for_file: unused_local_variable',