Add lefthook based git hooks setup

This commit is contained in:
Klaus Hartl 2023-02-18 10:09:18 +01:00
parent 85f9ff954a
commit 12bec60c51
No known key found for this signature in database
GPG key ID: 6BA8AED91AB6EA2A

8
lefthook.yml Normal file
View file

@ -0,0 +1,8 @@
pre-commit:
parallel: true
commands:
shellcheck:
glob: "*.sh"
run: shellcheck {staged_files}
prettier:
run: prettier --check .