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
6
justfile
6
justfile
@ -1,9 +1,9 @@
|
|||||||
# 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
|
||||||
lint:
|
lint:
|
||||||
|
Loading…
Reference in New Issue
Block a user