Skip to content

Commit

Permalink
feat: changed parser for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
iso9000t committed Jan 19, 2025
1 parent a3235de commit 127ee7b
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 28 deletions.
14 changes: 9 additions & 5 deletions app/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"extends": [
"airbnb",
// "plugin:jsx-a11y/recommended",
Expand Down Expand Up @@ -63,9 +63,13 @@
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 1
},
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
}
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
},
"requireConfigFile": true,
"babelOptions": {
"configFile": "./.babelrc"
}
}
}
62 changes: 40 additions & 22 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.26.5",
"@babel/node": "7.22.19",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "^7.25.9",
Expand All @@ -110,7 +111,6 @@
"@sowtame/webpack-subresource-integrity": "2.0.0",
"@types/jest": "^29.5.14",
"axios-mock-adapter": "1.17.0",
"babel-eslint": "10.0.3",
"babel-loader": "8.2.3",
"babel-plugin-react-intl": "4.1.20",
"buffer": "6.0.3",
Expand Down

0 comments on commit 127ee7b

Please sign in to comment.