Skip to content

Commit

Permalink
chore: replace babel-eslint with @babel/eslint-parser (#812)
Browse files Browse the repository at this point in the history
Signed-off-by: Yi-Ya Chen <[email protected]>
  • Loading branch information
houhoucoop authored Nov 15, 2024
1 parent 55c62be commit 91265da
Show file tree
Hide file tree
Showing 3 changed files with 627 additions and 849 deletions.
22 changes: 12 additions & 10 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"never"
],
"allowForLoopAfterthoughts": 0,
"comma-dangle": [
2,
"always-multiline"
],
"comma-dangle": 0,
"max-len": 0,
"camelcase": 0,
"react/sort-comp": 0,
Expand Down Expand Up @@ -82,16 +79,21 @@
{
"ignoreRestSiblings": true
}
]
],
// disabled rules for airbnb config v18
"react/state-in-constructor": 0,
"react/jsx-curly-newline": 0,
"no-multiple-empty-lines": 0,
"prefer-object-spread": 0
},
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaVersion": 2020,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
"jsx": true
},
"requireConfigFile": false
},
"globals": {
"window": true,
Expand Down
Loading

0 comments on commit 91265da

Please sign in to comment.