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
no-control-regex
has unnecessary code
#6438
Comments
The test in eslint@141b778 continues to pass even without this code. Fixes eslint#6438.
The test in eslint@141b778 continues to pass even without this code.
Tagging @efegurkan just in case :-) |
@efegurkan ping - any update on this one? |
@ljharb I didn't had enough time to work on it yet. But I'm guessing there is something wrong with test execution. I'll add details on here when I have time. |
@ljharb I just sent a pull request to fix this. Sorry for blocking so long 😞 . The problem was the tests as we guessed before. I was not checking literal's on tests instead I was checking literals on a string. Basically /\x01/.toString() is not equal to "/\x01".toString() . As soon as #6752 gets approved you will be safe to work on the fix for #6293. Sorry for delaying again. |
Linking to #6839 |
While investigating a fix for #6293, I discovered that the test in 141b778 continues to pass even without some of the rule code.
I'm filing this per #6437 (comment) so there's an issue matching the PR.
The text was updated successfully, but these errors were encountered: