Skip to content

Commit

Permalink
update babel
Browse files Browse the repository at this point in the history
  • Loading branch information
link1697 committed Nov 6, 2024
1 parent 960d649 commit 2e475d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dashboard/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SPDX-License-Identifier: Apache-2.0
*/
module.exports = {
parser: '@babel/eslint-parser',
parser: 'babel-eslint',
extends: ['airbnb', 'prettier', 'plugin:compat/recommended'],
env: {
browser: true,
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@umijs/preset-react": "^1.2.2",
"antd-pro-merge-less": "^1.0.0",
"antd-theme-webpack-plugin": "^1.2.0",
"@babel/eslint-parser": "^7.22.0",
"babel-eslint": "^10.0.1",
"chalk": "^2.4.2",
"check-prettier": "^1.0.1",
"cross-env": "^5.2.0",
Expand Down

0 comments on commit 2e475d9

Please sign in to comment.