Open HarshKapadia2 opened 1 year ago
I'll try to add it as an npm script, so you can run npm run enable-lint
or npm run disable-lint
and it will enable or disable the pre-commit hooks.
I'll try to add it as an npm script, so you can run
npm run enable-lint
ornpm run disable-lint
and it will enable or disable the pre-commit hooks.
Yes, makes sense!
If possible, we can add code for a generalised pre-commit hook in
CONTRIBUTING.md
to run Prettier before committing locally.Credits: @KartikSoneji