Ignore unnecessary_import in legacy analysis options (#4129)
diff --git a/analysis_options_legacy.yaml b/analysis_options_legacy.yaml index 2b62a6a..793640e 100644 --- a/analysis_options_legacy.yaml +++ b/analysis_options_legacy.yaml
@@ -7,6 +7,9 @@ - '**/*.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: