iota-wiki
iota-wiki copied to clipboard
Add `format` as a pre commit hook (or similar)
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