Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-10-10 05:08:38 +0300
committerMichaël Zasso <targos@protonmail.com>2021-10-13 11:24:42 +0300
commitd6a99b77da7835610e3d630d79a4b11017b7c4f2 (patch)
tree57d926b736bb37631a92d5802198f864a0eb04cc /.eslintrc.js
parentd9157aa5fec4d11b0f91cb68bcb0a59c32f81ea5 (diff)
tools: remove @babel/plugin-syntax-top-level-await
ESLint 8.0.0 introduced support for top level await, so @babel/plugin-syntax-top-level-await is no longer necessary. PR-URL: https://github.com/nodejs/node/pull/40394 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index e84c7408d11..d4c0bfa667d 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -19,7 +19,6 @@ const hacks = [
'@babel/eslint-parser',
'@babel/plugin-syntax-class-properties',
'@babel/plugin-syntax-import-assertions',
- '@babel/plugin-syntax-top-level-await',
];
Module._findPath = (request, paths, isMain) => {
const r = ModuleFindPath(request, paths, isMain);
@@ -43,7 +42,6 @@ module.exports = {
plugins: [
Module._findPath('@babel/plugin-syntax-class-properties'),
Module._findPath('@babel/plugin-syntax-import-assertions'),
- Module._findPath('@babel/plugin-syntax-top-level-await'),
],
},
requireConfigFile: false,