Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.03 KB

README.md

File metadata and controls

17 lines (11 loc) · 1.03 KB

Opinionated eslint config for REACT app

This repo has .eslintrc.js that you could use for your react app (typescript) whether it is CRA or nextjs app.

If you're a reviewer probably you had to tell your teammate to name a file or variable in certain way. Probably you had a eslint already setup, but may be you didn't check for custom eslint rules. This config is currently being used in my projects internally with my team.

There is also corresponding screencasts Youtube series where the reasoning for each of these linting rules have been made.

You could check the commit history to see the corresponding video for each of the commits git history with comments

Contributing

Please feel free to open an issue or P.R if you feel a specific rule or pattern has helped you in your projects. Please note this is an opinonated .eslintrc there is no right or wrong rules. :cheers: