Skip to content

Commit 0c30a3c

Browse files
committed
chore: add optional: false
1 parent 2eb20bf commit 0c30a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/prefer-string-raw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const create = context => {
7272
const {quasi, tag} = node;
7373
const {sourceCode} = context;
7474

75-
if (!isMemberExpression(tag, {object: 'String', property: 'raw'})) {
75+
if (!isMemberExpression(tag, {object: 'String', property: 'raw', optional: false})) {
7676
return;
7777
}
7878

0 commit comments

Comments
 (0)