mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,11 @@ repos:
|
|||
- --simplify
|
||||
stages: [pre-commit]
|
||||
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
|
||||
rev: v0.41.0
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Reference in a new issue