chore: add support for autoformat
This assumes that https://github.com/TekWizely/pre-commit-golang/pull/3 be merged
This commit is contained in:
parent
75e79dedf2
commit
acde5ca0d6
4
justfile
4
justfile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user