Skip to content
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

Changes regexp/strict to suggest octal fixes #248

Merged
merged 2 commits into from
Jun 14, 2021

Conversation

RunDevelopment
Copy link
Collaborator

While testing the rule on Prism, I found that it auto-fixes octal escapes. This can be a problem because they might be incorrectly used backreferences. regexp/no-octal also only suggests for this reason.

This changes the regexp/strict rule to only suggest octal escape fixes.

@RunDevelopment RunDevelopment requested a review from ota-meshi June 13, 2021 19:12
@ota-meshi ota-meshi merged commit a2dda66 into master Jun 14, 2021
@ota-meshi ota-meshi deleted the strict-octal-suggestion branch June 14, 2021 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants