[Wildcard Variables][lint] consider a no_unused_parameters
lint
#59475
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-linter
Issues with the analyzer's support for the linter package
linter-lint-proposal
linter-new-language-feature
linter-status-pending
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
With wildcard variables, we have a proper way to mark unused parameters as intentionally unused. Given that, we might consider a lint that flags unused parameters with the expectation that intentionally unused params should either be removed or converted to wildcards.
For example:
BAD
GOOD
/fyi @kallentu @lrhn @munificent
The text was updated successfully, but these errors were encountered: