Remove outdated ignores (#162773)

Powered by the new and amazing `unnecessary_ignore` lint.

We're not enabling this lint by default because being able to
temporarily use ignores that don't ignore anything is a powerful tool to
enable migrations. We should turn this lint on locally periodically,
though, and clean up all outdated ignores.
This commit is contained in:
Michael Goderbauer
2025-02-06 10:40:25 -08:00
committed by GitHub
parent 5944d992ac
commit c783ce2344
60 changed files with 39 additions and 147 deletions

View File

@@ -223,6 +223,7 @@ linter:
- unnecessary_constructor_name
# - unnecessary_final # conflicts with prefer_final_locals
- unnecessary_getters_setters
# - unnecessary_ignore # Disabled by default to simplify migrations; should be periodically enabled locally to clean up offenders
# - unnecessary_lambdas # has false positives: https://github.com/dart-lang/linter/issues/498
- unnecessary_late
- unnecessary_library_directive