Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed May 9, 2024
1 parent 977a9d8 commit 297e874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/prefer-string-raw.js
Expand Up @@ -53,7 +53,7 @@ const create = context => {

const {raw} = node;
if (
raw.endsWith(BACKSLASH)
raw.at(-2) === BACKSLASH
|| !raw.includes(BACKSLASH + BACKSLASH)
|| raw.includes('`')
|| raw.includes('${')
Expand Down

0 comments on commit 297e874

Please sign in to comment.