my hooks for pre-commit
See also: https://github.com/pre-commit/pre-commit
Add this to your .pre-commit-config.yaml
- repo: https://github.com/c18t/pre-commit-hooks
rev: v1.3.0 # Use the ref you want to point at
hooks:
- id: shellcheck
# - id: ...
shellcheck
- Run shellcheck against scripts.yamllint
- Run yamllint against YAML files.pretty-quick
- Run pretty-quick against changed files.
- [v1.2.0~v1.2.0]
hadolint
- Run hadolint against Dockerfile.- You can find the official pre-commit hook for hadolint at hadolint / .pre-commit-hooks.yaml