DEV Community

Discussion on: [2021] Setting up Husky pre-commit hook with ESLint, Prettier and lint-staged for React and React Native.

Collapse
 
knyto2 profile image
Info Comment hidden by post author - thread only visible in this permalink
Kenny To

I had dependencies issues with eslint as a devDependency, since React requires version 6.8.0. Not sure why it didn't resolve itself. Just incase anybody runs into this in the future., you can skip installing eslint and let the project manage the dependencies by itself.

Collapse
 
klaus profile image
Yash Kalaria

Updated for 2021 with all the fixes.

Some comments have been hidden by the post's author - find out more