diff --git a/.babel-eslint.rc.js b/.babel-eslint.rc.js index e5087ed06e77..b426705f44d6 100644 --- a/.babel-eslint.rc.js +++ b/.babel-eslint.rc.js @@ -2,8 +2,8 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +/* eslint-env node */ + module.exports = { - plugins: [ - "@babel/plugin-syntax-jsx", - ], + plugins: ["@babel/plugin-syntax-jsx"], }; diff --git a/.eslintignore b/.eslintignore index f1d1d9555c24..7e8b8dd4ace9 100644 --- a/.eslintignore +++ b/.eslintignore @@ -9,6 +9,7 @@ !.eslintrc*.js !.prettierrc.js +!.babel-eslint.rc.js # Always ignore node_modules. **/node_modules/