ci: shell formatter check is on part with editor one

This commit is contained in:
Yorick Barbanneau 2025-02-04 18:05:10 +01:00
parent 63581953db
commit 1d09ac5996

View file

@ -1,14 +1,11 @@
---
skip_output: [meta, success]
no_tty: true
commit-msg:
commands:
lint:convco:
run: cat {1} | convco check --from-stdin
lint:typos:
run: cat {1} | typos -
pre-commit:
parallel: false
commands:
@ -19,8 +16,7 @@ pre-commit:
run: shellcheck {staged_files}
shfmt:
glob: "*.sh"
run: shfmt -d -ln bash -i 4 {staged_files}
run: shfmt -d -ln bash -i 2 {staged_files}
pre-push:
parallel: false
commands: