Add endColumn to no-useless-escape #11629
Labels
accepted
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
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
What rule do you want to change? no-useless-escape
Does this change cause the rule to produce more or fewer warnings? no
How will the change be implemented? (New option, new default behavior, etc.)? New default behaviour: return an endColumn
Please provide some example code that this change will affect:
What does the rule currently do for this code? Currently, the rule correctly detects an issue with the code. However, since the rule doesn't return an endColumn, my IDE (Atom) highlights until the end of the line in this example (from my testing, I think it highlights until the end of the line, or until the next
\
), which makes for a rather confusing UX.What will the rule do after it's changed? Return an endColumn
Are you willing to submit a pull request to implement this change? No
The text was updated successfully, but these errors were encountered: