Lint !any(==)
and similar
#1334
Labels
A-lint
Area: New lints
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
T-middle
Type: Probably requires verifiying types
At work I have a VS plugin suggesting to change stuff like
!foo.any(|bar| bar == baz)
tofoo.all(|bar| bar != baz)
.!any
and!all
can usually be simplified.It would be nice if
nonminimal_bool
could suggest that too.The text was updated successfully, but these errors were encountered: