ESLint rule typo
This commit is contained in:
@@ -15,7 +15,7 @@ exports.rule = {
|
|||||||
if (util.isRequireExpression(expression)) {
|
if (util.isRequireExpression(expression)) {
|
||||||
const parent = expression.parent;
|
const parent = expression.parent;
|
||||||
if (parent.type !== 'ExpressionStatement') {
|
if (parent.type !== 'ExpressionStatement') {
|
||||||
return context.report(expression, 'Expected goog.require() to in an expression statement');
|
return context.report(expression, 'Expected goog.require() to be in an expression statement');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parent.parent.type !== 'Program') {
|
if (parent.parent.type !== 'Program') {
|
||||||
|
|||||||
Reference in New Issue
Block a user