ESLint rule typo

This commit is contained in:
Guillaume Beraudo
2016-08-31 11:15:28 +02:00
parent 92f05f40c8
commit f3ca9e4bf5

View File

@@ -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') {