[community-group] Closed Pull Request: Adding prettier pre-commit hook

dbanksdesign has just closed dbanksdesign's pull request 56 for https://github.com/design-tokens/community-group:

== Adding prettier pre-commit hook ==
I got annoyed that a pull request was failing a linting check, but not telling me why it was failing. Instead, what repositories generally do is have a pre-commit hook that runs prettier on files that were changed in the commit and writes the prettier changes. This way the contributor won't have to remember to run prettier and fix the issue by hand. Open to suggestions though!

See https://github.com/design-tokens/community-group/pull/56


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 8 September 2021 19:42:43 UTC