Skip to content

Commit

Permalink
eslint upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
night committed Dec 23, 2024
1 parent 916d2f4 commit 72d00d4
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 296 deletions.
14 changes: 12 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
"presets": ["@babel/preset-react"]
}
},
"extends": ["airbnb", "prettier"],
"plugins": ["prettier"],
"extends": [
"plugin:import/recommended",
"plugin:react/recommended",
"plugin:eslint-plugin/recommended",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": ["error"],
"import/extensions": ["error", "ignorePackages"],
Expand All @@ -29,6 +33,7 @@
"no-empty": "off",
"max-classes-per-file": "off",
"no-bitwise": "off",
"import/no-named-as-default": "off",
"import/order": [
"error",
{
Expand All @@ -39,5 +44,10 @@
}
}
]
},
"settings": {
"react": {
"version": "detect"
}
}
}
Loading

0 comments on commit 72d00d4

Please sign in to comment.