Add `format` as a pre commit hook (or similar)
Opened this issue · 1 comments
lucas-tortora commented
Is your feature request related to a problem? Please describe.
Since we're enforcing the formatting on a workflow level, it'd be nice if we could automate this as a precommit hook (or similar)
Describe the solution you'd like
Basically I'd the yarn format
command to be run before every commit. A quick search: https://yarnpkg.com/package?name=precommit-hook
jlvandenhout commented
We had this before, and we chose to remove it. Devs should be in charge of their local set up. They can always add the pre-commit hook themselves, but with IDE plugins this becomes even less relevant.