home-ops/.pre-commit-config.yaml
homeops-bot[bot] da67345c94
chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.2.0 (#29)
| datasource  | package                  | from    | to     |
| ----------- | ------------------------ | ------- | ------ |
| github-tags | Lucas-C/pre-commit-hooks | v1.1.15 | v1.2.0 |

Co-authored-by: homeops-bot <104016614+homeops-bot[bot]@users.noreply.github.com>
2022-05-17 20:28:06 +02:00

60 lines
No EOL
1.4 KiB
YAML

---
fail_fast: false
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
hooks:
- id: yamllint
args:
- -c
- ".github/linters/.yamllint.yaml"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
- id: check-executables-have-shebangs
- id: fix-byte-order-marker
- id: check-added-large-files
args: [--maxkb=2048]
- id: check-merge-conflict
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.2.0
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/sirosen/fix-smartquotes
rev: 0.2.0
hooks:
- id: fix-smartquotes
- repo: https://github.com/k8s-at-home/sops-pre-commit
rev: v2.1.0
hooks:
- id: forbid-secrets
- repo: https://github.com/zricethezav/gitleaks
rev: v8.8.4
hooks:
- id: gitleaks
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.71.0
hooks:
- id: terraform_fmt
- id: terraform_tfsec
files: ^terraform/
- id: terraform_validate
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.6
hooks:
- id: shellcheck
language: script
args: [--severity=error]
additional_dependencies: []