mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:04:32 +07:00
58a2d8f5cd
Just run static checks in pre-commit, we have Terratest for validate
27 lines
737 B
YAML
27 lines
737 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-executables-have-shebangs
|
|
- id: check-merge-conflict
|
|
- id: check-shebang-scripts-are-executable
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/adrienverge/yamllint
|
|
rev: v1.27.1
|
|
hooks:
|
|
- id: yamllint
|
|
- repo: https://github.com/k8s-at-home/sops-pre-commit
|
|
rev: v2.1.1
|
|
hooks:
|
|
- id: forbid-secrets
|
|
- repo: https://github.com/gruntwork-io/pre-commit
|
|
rev: v0.1.17
|
|
hooks:
|
|
- id: helmlint
|
|
- id: shellcheck
|
|
- id: terraform-fmt
|