diff --git a/.eslintrc.js b/.eslintrc.js index d4c0bfa667da3f..3e1513b2b1f0a3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,7 +17,6 @@ const hacks = [ 'eslint-plugin-node-core', 'eslint-plugin-markdown', '@babel/eslint-parser', - '@babel/plugin-syntax-class-properties', '@babel/plugin-syntax-import-assertions', ]; Module._findPath = (request, paths, isMain) => { @@ -40,7 +39,6 @@ module.exports = { parserOptions: { babelOptions: { plugins: [ - Module._findPath('@babel/plugin-syntax-class-properties'), Module._findPath('@babel/plugin-syntax-import-assertions'), ], }, diff --git a/tools/update-babel-eslint.sh b/tools/update-babel-eslint.sh index 6b3f8d24ab9157..f2cadbd2297339 100755 --- a/tools/update-babel-eslint.sh +++ b/tools/update-babel-eslint.sh @@ -18,7 +18,7 @@ ROOT="$PWD/../.." NPM="$ROOT/deps/npm/bin/npm-cli.js" "$NODE" "$NPM" init --yes -"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-class-properties@latest @babel/plugin-syntax-import-assertions@latest +"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-import-assertions@latest # Use dmn to remove some unneeded files. "$NODE" "$NPM" exec -- dmn@2.2.2 -f clean