-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Matching Cop to Lint/UnneededDisable
: Lint/UnneededEnable
#5356
Comments
Yeah, that's a good idea. Although it should be named |
@garettarrowood You are correct that this issue is a dupe of #2543 but it is not a dupe of #3001. The functionality I'm asking for is the opposite of #3001 describes what the What I'm asking for is a cop that flags if there's a |
@jfelchner - Thanks for the clarification! And sorry for the confusion! |
Ok. I think I'll tackle this today. |
The
Lint/UnneededDisable
is very useful, but part of the problem with using it is that, if you wrap code like this:Making the
Lint/UnneededDisable
cop happy (either manually or with autocorrection) leaves theenable
line even though it's no longer needed.It'd be great to have a cop to handle this use case as well.
The text was updated successfully, but these errors were encountered: