chore: add support for autoformat

This assumes that https://github.com/TekWizely/pre-commit-golang/pull/3 be merged
This commit is contained in:
David Arnold 2020-06-10 21:52:11 -05:00
parent 75e79dedf2
commit acde5ca0d6
No known key found for this signature in database
GPG Key ID: 6D6A936E69C59D08

View File

@ -1,8 +1,8 @@
# use with https://github.com/casey/just # use with https://github.com/casey/just
# fixe auto-fixable lint issues in staged files # fix auto-fixable lint issues in staged files
fix: fix:
pre-commit run go-returns # fixes all Go lint issues FORMAT= pre-commit run go-returns # fixes all Go lint issues
pre-commit run prettier # fixes all Markdown (& other) lint issues pre-commit run prettier # fixes all Markdown (& other) lint issues
# lint most common issues in - or due - to staged files # lint most common issues in - or due - to staged files