Skip to content

Commit 15781f5

Browse files
committed
chore: add optional: false
1 parent be1ece7 commit 15781f5

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)