build: add husky to automatically format code #67
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "tasiaiso/tildefriends:tasiaiso-husky-init"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Manually running prettier to format code is hassle: just in the first page of the commit tree there are 5 commits that mention prettier.
make format
fails (if a dependency is missing or prettier throws an error), the hook will still succeed as to not block people for dumb reasonsmake format
ruleSorry, I know I've been sitting on this for ages. I've been waffling on it, and I don't like this level of automated changes to code in the repo. I like it being a manual step. Although maybe I do it compulsively, it doesn't consume many mental cycles.
I forgot what project I'm getting the policy from, but I'll aim to keep formatting mostly standardized each release.
Thanks for taking the initiative to do this, though.
Pull request closed