Skip to content

Commit

Permalink
Update the analysis options for sample code to ignore unnecessary_imp…
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-simmons authored and clocksmith committed Oct 29, 2021
1 parent 0f4f5de commit 9bc7f07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev/bots/analyze_sample_code.dart
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,12 @@ linter:
rules:
# Samples want to print things pretty often.
avoid_print: false
analyzer:
errors:
# TODO(https://github.com/flutter/flutter/issues/74381):
# Clean up existing unnecessary imports, and remove line to ignore.
unnecessary_import: ignore
''');
}
}
Expand Down

0 comments on commit 9bc7f07

Please sign in to comment.