Unverified Commit 518bea67 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Update the analysis options for sample code to ignore unnecessary_imports (#90391)

See https://github.com/flutter/flutter/issues/74381
parent f04b2665
...@@ -734,6 +734,12 @@ linter: ...@@ -734,6 +734,12 @@ linter:
rules: rules:
# Samples want to print things pretty often. # Samples want to print things pretty often.
avoid_print: false 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
'''); ''');
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment