Skip to content

Commit

Permalink
also add & configure eslint-plugin-react-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Jan 22, 2024
1 parent 745bda7 commit 3d8ff60
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 112 deletions.
4 changes: 4 additions & 0 deletions package/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ module.exports = {
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
],
settings: {
react: { version: "detect" },
},
overrides: [],
parser: "@typescript-eslint/parser",
parserOptions: {
Expand Down
1 change: 1 addition & 0 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"@typescript-eslint/parser": "6.19.0",
"eslint": "8.56.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"graphql": "16.8.1",
"next": "14.0.0",
"react": "18.2.0",
Expand Down
Loading

0 comments on commit 3d8ff60

Please sign in to comment.