Closed thomasmery closed 3 years ago
also this: https://github.com/vercel/next.js/tree/canary/examples/with-typescript-eslint-jest
has been added to the Next repo recently I think
Hey Paulin, thanks for the article!!
It helped me a lot to configure the basics for my Next project with Typescript support =D
I was wondering if the "plugin:react-hooks/recommended" was missing in the eslint config
True! I have added it, thanks!
also this: https://github.com/vercel/next.js/tree/canary/examples/with-typescript-eslint-jest has been added to the Next repo recently I think
Yes, that's right. My approach is a bit different though, I listed the main differences here: https://github.com/paulintrognon/next-typescript#what-is-the-difference-with-official-with-typescript-eslint-jest
Thank you for the feedback!
Fixed in 412e7644b09cdbc65f567349c81f806304f8e771
Hi Paulin,
thanks a lot for the article :)
I was wondering if the "plugin:react-hooks/recommended" was missing in the eslint config
it seems I have to add it to get the desired reporting on bad hooks practices
Merci !