Use wildcards (#161548)

https://dart.dev/language/pattern-types#wildcard
This commit is contained in:
Michael Goderbauer
2025-01-13 21:13:41 -08:00
committed by GitHub
parent 1b0441c18a
commit 9cab4ffee1
51 changed files with 118 additions and 115 deletions

View File

@@ -216,6 +216,7 @@ linter:
- type_literal_in_constant_pattern
# - unawaited_futures # too many false positives, especially with the way AnimationController works
# - unintended_html_in_doc_comment # blocked on https://github.com/dart-lang/linter/issues/5065
# - unnecessary_async # not yet tested
- unnecessary_await_in_return
- unnecessary_brace_in_string_interps
- unnecessary_breaks
@@ -241,6 +242,7 @@ linter:
- unnecessary_string_interpolations
- unnecessary_this
- unnecessary_to_list_in_spreads
- unnecessary_underscores
- unreachable_from_main
- unrelated_type_equality_checks
# - unsafe_variance # not yet tested