-
Dose preact has plugin like "eslint-plugin-react-hooks" that could auto fill the hook dependencies? I found a plugin eslint-config-preact but I can not let it wokrs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Doesn't need an alternative. Though yes, you should certainly be manually checking the dependencies array and altering when needs be.
Can you clarify a bit? What doesn't work? |
Beta Was this translation helpful? Give feedback.
-
Mabe my package.json set type='module', and eslintrc.(c)js not works well with @typescript-eslint/parser, I remove type='module' in my react project and then every thing goes well. |
Beta Was this translation helpful? Give feedback.
Mabe my package.json set type='module', and eslintrc.(c)js not works well with @typescript-eslint/parser, I remove type='module' in my react project and then every thing goes well.