57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: "v3.1.0"
|
|
hooks:
|
|
- id: prettier
|
|
exclude: "deploy/helm"
|
|
|
|
- repo: https://github.com/hadolint/hadolint
|
|
rev: "v2.12.1-beta"
|
|
hooks:
|
|
- id: hadolint
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: "v4.5.0"
|
|
hooks:
|
|
- id: check-yaml
|
|
exclude: "deploy/helm"
|
|
- id: check-merge-conflict
|
|
- id: check-executables-have-shebangs
|
|
- id: check-shebang-scripts-are-executable
|
|
- id: check-symlinks
|
|
- id: check-vcs-permalinks
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
exclude: "deploy/helm/README.md"
|
|
|
|
- repo: https://github.com/syntaqx/git-hooks
|
|
rev: "v0.0.18"
|
|
hooks:
|
|
- id: circleci-config-validate
|
|
|
|
- repo: https://github.com/Jarmos-san/shellcheck-precommit
|
|
rev: "v0.2.0"
|
|
hooks:
|
|
- id: shellcheck-system
|
|
|
|
- repo: https://github.com/dnephin/pre-commit-golang
|
|
rev: "v0.5.1"
|
|
hooks:
|
|
- id: go-fmt
|
|
# - id: go-vet
|
|
- id: no-go-testing
|
|
- id: go-critic
|
|
- id: go-unit-tests
|
|
- id: go-build
|
|
- id: go-mod-tidy
|
|
|
|
- repo: https://github.com/norwoodj/helm-docs
|
|
rev: v1.12.0
|
|
hooks:
|
|
- id: helm-docs
|
|
args:
|
|
- --chart-search-root=deploy/helm
|
|
|
|
ci:
|
|
autoupdate_schedule: quarterly
|