Skip to content

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.

3 participants