mirror of
https://github.com/carhartl/talisman-secrets-scan-action.git
synced 2024-12-04 13:27:27 +00:00
Add lefthook based git hooks setup
This commit is contained in:
parent
85f9ff954a
commit
12bec60c51
1 changed files with 8 additions and 0 deletions
8
lefthook.yml
Normal file
8
lefthook.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
pre-commit:
|
||||||
|
parallel: true
|
||||||
|
commands:
|
||||||
|
shellcheck:
|
||||||
|
glob: "*.sh"
|
||||||
|
run: shellcheck {staged_files}
|
||||||
|
prettier:
|
||||||
|
run: prettier --check .
|
Loading…
Reference in a new issue