Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b72d693

Browse filesBrowse files
Trotttargos
authored andcommitted
tools: remove @bable/plugin-syntax-class-properties
ESLint 8.0.0 makes the plugin unnecessary. PR-URL: #40394 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d6a99b7 commit b72d693
Copy full SHA for b72d693

File tree

Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const hacks = [
1717
'eslint-plugin-node-core',
1818
'eslint-plugin-markdown',
1919
'@babel/eslint-parser',
20-
'@babel/plugin-syntax-class-properties',
2120
'@babel/plugin-syntax-import-assertions',
2221
];
2322
Module._findPath = (request, paths, isMain) => {
@@ -40,7 +39,6 @@ module.exports = {
4039
parserOptions: {
4140
babelOptions: {
4241
plugins: [
43-
Module._findPath('@babel/plugin-syntax-class-properties'),
4442
Module._findPath('@babel/plugin-syntax-import-assertions'),
4543
],
4644
},
Collapse file

‎tools/update-babel-eslint.sh‎

Copy file name to clipboardExpand all lines: tools/update-babel-eslint.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ROOT="$PWD/../.."
1818
NPM="$ROOT/deps/npm/bin/npm-cli.js"
1919

2020
"$NODE" "$NPM" init --yes
21-
"$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
21+
"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-import-assertions@latest
2222

2323
# Use dmn to remove some unneeded files.
2424
"$NODE" "$NPM" exec -- dmn@2.2.2 -f clean

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.