diff --git a/eslint/babel-eslint-parser/index.js b/eslint/babel-eslint-parser/index.js index 279fd25eb4..f89554f130 100644 --- a/eslint/babel-eslint-parser/index.js +++ b/eslint/babel-eslint-parser/index.js @@ -84,7 +84,7 @@ function monkeypatch() { } var Definition = require(definitionLoc).Definition; - // if there are decotators, then visit each + // if there are decorators, then visit each function visitDecorators(node) { if (!node.decorators) { return; @@ -416,4 +416,4 @@ exports.parseNoPatch = function (code) { acornToEsprima.toAST(ast, traverse); return ast; -} \ No newline at end of file +}