CodingGarden / react-ts-starter

A bare-bones vite + react + typescript starter template with eslint + prettier, vitest + @testing-library and react-router
MIT License
208 stars 74 forks source link

Add husky and lintstaged to the project! #4

Closed boweiliu closed 1 year ago

boweiliu commented 1 year ago

Husky automatically sets up git hooks to make it easier to collaborate and follow lint & test rules.

linstaged is a npm tool that only lints/typechecks files that were committed.

boweiliu commented 1 year ago

I also updated the readme with some diagrams!

w3cj commented 1 year ago

Thanks for this, but I want to keep the setup as simple and unopinionated as possible so people can add husky or lintstaged if they need it themselves.