rev: v14.0.0 # Use the sha / tag you want to point at
hooks:
- id: clang-format
+ - repo: https://github.com/scop/pre-commit-shfmt
+ rev: v3.7.0-4
+ hooks:
+ # Choose one of:
+ - id: shfmt # prebuilt upstream executable
+ args: [--indent=4, -w, -s]
+ # - id: shfmt-src # build from source (requires/installs Go to build)
+ # - id: shfmt-docker # Docker image (requires Docker to run)
+ - repo: https://github.com/shellcheck-py/shellcheck-py
+ rev: v0.9.0.6
+ hooks:
+ - id: shellcheck
+ args: [--severity=error]