From b2ed8a25b5e6eab2c1b62698dfc2a11efc96d296 Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Mon, 7 Jun 2021 12:14:06 -0700 Subject: [PATCH] Ignore unnecessary_import reports in sample code (#84125) --- 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 793cbb81904..e7adae22bd7 100644 --- a/dev/bots/analyze_sample_code.dart +++ b/dev/bots/analyze_sample_code.dart @@ -265,6 +265,7 @@ class SampleChecker { return _headers ??= [ '// generated code', '// ignore_for_file: directives_ordering', + '// ignore_for_file: unnecessary_import', '// ignore_for_file: unused_import', '// ignore_for_file: unused_element', '// ignore_for_file: unused_local_variable',