File tree Expand file tree Collapse file tree 3 files changed +483
-28
lines changed Expand file tree Collapse file tree 3 files changed +483
-28
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,13 @@ module.exports = {
8
8
globals : {
9
9
__DEV__ : false ,
10
10
} ,
11
- parser : 'babel-eslint' ,
11
+ parser : '@babel/eslint-parser' ,
12
+ parserOptions : {
13
+ requireConfigFile : false ,
14
+ babelOptions : {
15
+ presets : [ '@babel/preset-react' ]
16
+ }
17
+ } ,
12
18
plugins : [ 'react' , 'react-hooks' ] ,
13
19
rules : {
14
20
'max-len' : 'off' ,
Original file line number Diff line number Diff line change 7
7
"access" : " public"
8
8
},
9
9
"peerDependencies" : {
10
- "eslint-plugin-import" : " ^2.22.1 " ,
11
- "eslint-plugin-jsx-a11y" : " ^6.4 .1" ,
12
- "eslint-plugin-react" : " ^7.22.0 "
10
+ "eslint-plugin-import" : " ^2.27.5 " ,
11
+ "eslint-plugin-jsx-a11y" : " ^6.7 .1" ,
12
+ "eslint-plugin-react" : " ^7.32.2 "
13
13
},
14
14
"dependencies" : {
15
- "eslint-config-airbnb" : " ^18.2.1" ,
16
- "eslint-config-prettier" : " ^8.1.0" ,
17
- "eslint-plugin-react-hooks" : " ^4.2.0"
15
+ "@babel/eslint-parser" : " ^7.22.5" ,
16
+ "@babel/preset-react" : " ^7.22.5" ,
17
+ "eslint-config-airbnb" : " ^19.0.4" ,
18
+ "eslint-config-prettier" : " ^8.8.0" ,
19
+ "eslint-plugin-react-hooks" : " ^4.6.0"
18
20
}
19
21
}
You can’t perform that action at this time.
0 commit comments