Skip to content

Commit 5266acb

Browse files
authored
Ignore unnecessary_import in legacy analysis options (flutter#4129)
1 parent f460b79 commit 5266acb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

analysis_options_legacy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ analyzer:
77
- '**/*.mocks.dart' # Mockito @GenerateMocks
88
errors:
99
always_require_non_null_named_parameters: false # not needed with nnbd
10+
# TODO(https://github.com/flutter/flutter/issues/74381):
11+
# Clean up existing unnecessary imports, and remove line to ignore.
12+
unnecessary_import: ignore
1013
unnecessary_null_comparison: false # Turned as long as nnbd mix-mode is supported.
1114
linter:
1215
rules:

0 commit comments

Comments
 (0)