Files
JimsGarage/.pre-commit-config.yaml
T

41 lines
1.1 KiB
YAML
Raw Normal View History

2023-11-10 13:21:37 -05:00
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2026-06-30 21:34:34 -06:00
rev: v5.0.0
2023-11-10 13:21:37 -05:00
hooks:
2026-06-30 21:34:34 -06:00
# Pre-existing checks
2023-11-10 13:21:37 -05:00
- id: check-symlinks
- id: destroyed-symlinks
- id: detect-aws-credentials
args: [--allow-missing-credentials]
2026-06-30 21:34:34 -06:00
# General hygiene
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-added-large-files
- id: mixed-line-ending
- id: check-yaml
args: [--allow-multiple-documents]
2023-11-10 13:21:37 -05:00
- repo: https://github.com/IamTheFij/docker-pre-commit
rev: v3.0.1
hooks:
- id: docker-compose-check
2026-06-30 21:34:34 -06:00
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
# Block on real warnings/errors; skip style/info noise on legacy scripts.
args: [--severity=warning]
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.1
hooks:
- id: gitleaks