diff --git a/.eslintrc.js b/.eslintrc.js index bbec37f88..2b9397679 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -12,6 +12,7 @@ module.exports = { // files. '__filename': false }, + 'parser': 'babel-eslint', 'parserOptions': { 'ecmaFeatures': { 'experimentalObjectRestSpread': true diff --git a/react/.eslintrc.js b/react/.eslintrc.js index 030fa1aa5..c50fc451b 100644 --- a/react/.eslintrc.js +++ b/react/.eslintrc.js @@ -1,6 +1,5 @@ module.exports = { 'extends': '../.eslintrc.js', - 'parser': 'babel-eslint', 'parserOptions': { 'ecmaFeatures': { 'jsx': true