Skip to content

Commit

Permalink
chore: replace babel-eslint with @babel/eslint-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
houhoucoop committed Nov 13, 2024
1 parent 55c62be commit b9a6c86
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 b9a6c86

Please sign in to comment.