/ eslint Public
no-useless-escape rule is not handling regex back references correctly #7472
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
ESLint is working incorrectly
This issue may necessitate a patch release in the next few days
Relates to ESLint's core rules
It appears that the recent changes related to the no-useless-escape rule are not handling the integer back references (e.g.
What did you expect to happen?
No eslint errors
What actually happened? Please include the actual, raw output from ESLint.
2:51 error Unnecessary escape character: \1 no-useless-escape
The text was updated successfully, but these errors were encountered: