Skip to content

Commit

Permalink
Revert "use *" (babel/babel-eslint#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Dec 2, 2016
1 parent 122acf8 commit 38072c0
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion eslint/babel-eslint-parser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,23 @@ exports.parseNoPatch = function (code, options) {
allowImportExportEverywhere: options.allowImportExportEverywhere, // consistent with espree
allowReturnOutsideFunction: true,
allowSuperOutsideMethod: true,
plugins: ["*"]
plugins: [
"flow",
"jsx",
"asyncFunctions",
"asyncGenerators",
"classConstructorCall",
"classProperties",
"decorators",
"doExpressions",
"exponentiationOperator",
"exportExtensions",
"functionBind",
"functionSent",
"objectRestSpread",
"trailingFunctionCommas",
"dynamicImport"
]
};

var ast;
Expand Down

0 comments on commit 38072c0

Please sign in to comment.