diff --git a/lefthook.yaml b/lefthook.yaml index 4410eea..d1369fa 100644 --- a/lefthook.yaml +++ b/lefthook.yaml @@ -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: @@ -16,11 +13,10 @@ pre-commit: run: typos {staged_files} shellcheck: glob: "*.sh" - run: shellcheck {staged_files} + 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: