Skip to content

Commit

Permalink
Ignore unnecessary_import in legacy analysis options (flutter#4129)
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins authored and amantoux committed Sep 27, 2021
1 parent eb7ff6b commit 6679244
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analysis_options_legacy.yaml
Expand Up @@ -7,6 +7,9 @@ analyzer:
- '**/*.mocks.dart' # Mockito @GenerateMocks
errors:
always_require_non_null_named_parameters: false # not needed with nnbd
# TODO(https://github.com/flutter/flutter/issues/74381):
# Clean up existing unnecessary imports, and remove line to ignore.
unnecessary_import: ignore
unnecessary_null_comparison: false # Turned as long as nnbd mix-mode is supported.
linter:
rules:
Expand Down

0 comments on commit 6679244

Please sign in to comment.