Add pre-commit hook for shellcheck
Using shellcheck-py[1] instead of the official shellcheck-precommit[2] to avoid a dependency on docker. [1] https://github.com/shellcheck-py/shellcheck-py [2] https://github.com/koalaman/shellcheck-precommit Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
6f5ac7c4ae
commit
631f7b292e
@ -54,6 +54,11 @@ repos:
|
|||||||
- --simplify
|
- --simplify
|
||||||
stages: [pre-commit]
|
stages: [pre-commit]
|
||||||
exclude: ^build/premake/premake5/
|
exclude: ^build/premake/premake5/
|
||||||
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
|
rev: v0.10.0.1
|
||||||
|
hooks:
|
||||||
|
- id: shellcheck
|
||||||
|
exclude: ^build/premake/premake5/
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.41.0
|
rev: v0.41.0
|
||||||
hooks:
|
hooks:
|
||||||
|
Loading…
Reference in New Issue
Block a user