Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Split redundant_closure lint #4101
Move the method checking into a new lint called
This aspect of the lint seems more controversial than the rest.
changelog: Move method checking from
I think splitting those lints is the correct thing to do. There are too many FPs and annoyances that aren't trivial to fix. I would add to the changelog, that the new lint is in the pedantic group though. "to a new lint" -> "to a new
As for the name: I can't come up with a shorter name. But I would keep the singular form from the previous lint: redundant_closure