quotes
does not report template literals that contain a newline escape character
#7646
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
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
(none)
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
ESLint should report an error, and be able to fix the line to:
What actually happened? Please include the actual, raw output from ESLint.
No errors were reported.
I'm guessing this is a bug in the logic that detects multiline template literals. The rule does not report lines like this (as expected):
But it should still report lines that literally contain
\n
.The text was updated successfully, but these errors were encountered: