We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
optional: false
1 parent 2eb20bf commit 0c30a3cCopy full SHA for 0c30a3c
rules/prefer-string-raw.js
@@ -72,7 +72,7 @@ const create = context => {
72
const {quasi, tag} = node;
73
const {sourceCode} = context;
74
75
- if (!isMemberExpression(tag, {object: 'String', property: 'raw'})) {
+ if (!isMemberExpression(tag, {object: 'String', property: 'raw', optional: false})) {
76
return;
77
}
78
0 commit comments