Skip to content

Commit

Permalink
fix: depend on react-hooks plugin beta (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema authored Sep 30, 2024
1 parent 25459cb commit 810aad9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-peas-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tokens-studio/configs': patch
---

Disable annoying TS rule and depend on react hooks plugin beta rc.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/react": ">= 18",
"eslint": ">= 9",
"eslint-plugin-react": ">= 7",
"eslint-plugin-react-hooks": "rc",
"eslint-plugin-react-hooks": "^5.1.0-rc-3edc000d-20240926",
"globals": ">= 15",
"prettier": ">= 3",
"typescript-eslint": ">= 8"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true, // These cause issues with decorators
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"resolveJsonModule": true, // ESM doesn't yet support JSON modules.
"skipLibCheck": true,
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
"strict": true,
"target": "ES2022",
Expand Down

0 comments on commit 810aad9

Please sign in to comment.