Skip to content

Commit f0c03e7

Browse files
committed
build(dos): Use legacy version of react-hooks
The best way to solve this would be to migrate to a flat configuration for eslint. Unfortunately, it is unclear how to do that, due to the turbo monorepo structure splitting the eslint configuration to several places, so a quick way is to use the legacy version of the react-hooks. Signed-off-by: Jyrki Keisala <[email protected]>
1 parent 7a5b277 commit f0c03e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-config-custom/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
"plugin:@next/next/recommended",
1111
"plugin:jest-dom/recommended",
1212
"plugin:testing-library/react",
13-
"plugin:react-hooks/recommended",
13+
"plugin:react-hooks/recommended-legacy",
1414
"plugin:playwright/recommended",
1515
],
1616
rules: {

0 commit comments

Comments
 (0)