Shell static analysis
Add pre-commit hook for static analysis on shell scripts (shellcheck)
This commit is contained in:
parent
c8bf19d221
commit
d48bf8554e
1 changed files with 7 additions and 0 deletions
|
|
@ -12,3 +12,10 @@ repos:
|
|||
rev: 1.32.2
|
||||
hooks:
|
||||
- id: tmt-lint
|
||||
|
||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
||||
rev: v0.10.0
|
||||
hooks:
|
||||
- id: shellcheck
|
||||
require_serial: true # Podman has trouble running concurrently
|
||||
args: ["--exclude=SC1091"] # Ignore "Not following" sourced scripts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue