Skip to content

Commit 810aad9

Browse files
fix: depend on react-hooks plugin beta (#7)
1 parent 25459cb commit 810aad9

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/angry-peas-approve.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tokens-studio/configs': patch
3+
---
4+
5+
Disable annoying TS rule and depend on react hooks plugin beta rc.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@types/react": ">= 18",
3636
"eslint": ">= 9",
3737
"eslint-plugin-react": ">= 7",
38-
"eslint-plugin-react-hooks": "rc",
38+
"eslint-plugin-react-hooks": "^5.1.0-rc-3edc000d-20240926",
3939
"globals": ">= 15",
4040
"prettier": ">= 3",
4141
"typescript-eslint": ">= 8"

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"noFallthroughCasesInSwitch": true,
2020
"noImplicitOverride": true, // These cause issues with decorators
2121
"noImplicitReturns": true,
22-
"noPropertyAccessFromIndexSignature": true,
2322
"noUncheckedIndexedAccess": true,
2423
"noUnusedLocals": false,
2524
"noUnusedParameters": false,
2625
"preserveWatchOutput": true,
2726
"resolveJsonModule": true, // ESM doesn't yet support JSON modules.
27+
"skipLibCheck": true,
2828
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
2929
"strict": true,
3030
"target": "ES2022",

0 commit comments

Comments
 (0)