Skip to content

Commit c228106

Browse files
committed
chore(deps): fix babel eslint config
1 parent bcb42e6 commit c228106

File tree

6 files changed

+21418
-17151
lines changed

6 files changed

+21418
-17151
lines changed

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["@babel/preset-react"]
3+
}
4+

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"parser": "babel-eslint",
2+
"parser": "@babel/eslint-parser",
33
"extends": [
44
"standard",
55
"standard-react",

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@
4141
"react": "^16.8.0 || ^17.0.2 || ^18.0.0"
4242
},
4343
"devDependencies": {
44-
"babel-eslint": "^10.0.3",
44+
"@babel/core": "^7.21.8",
45+
"@babel/eslint-parser": "^7.21.8",
46+
"@babel/plugin-transform-regenerator": "^7.21.5",
47+
"@babel/preset-react": "^7.18.6",
4548
"cross-env": "^7.0.2",
4649
"cz-conventional-changelog": "3.2.0",
4750
"esbuild": "^0.17.18",
48-
"eslint": "^6.8.0",
51+
"eslint": "^8.40.0",
4952
"eslint-config-prettier": "^6.7.0",
53+
"eslint-config-react-app": "^7.0.1",
5054
"eslint-config-standard": "^14.1.0",
5155
"eslint-config-standard-react": "^9.2.0",
5256
"eslint-plugin-import": "^2.18.2",
@@ -62,7 +66,7 @@
6266
"prettier": "^2.0.4",
6367
"react": "^16.13.1",
6468
"react-dom": "^16.13.1",
65-
"react-scripts": "^3.4.1"
69+
"react-scripts": "^5.0.1"
6670
},
6771
"files": [
6872
"dist"

www/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@
5555
"not op_mini all"
5656
],
5757
"devDependencies": {
58-
"@babel/core": "^7.18.13",
5958
"@babel/plugin-proposal-decorators": "^7.18.10",
60-
"babel-eslint": "^10.1.0",
6159
"babel-loader": "^8.2.5",
6260
"babel-preset-gatsby": "^2.22.0",
6361
"core-js": "^3.25.0",

0 commit comments

Comments
 (0)