44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
repos:
|
|
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
|
rev: v1.77.2
|
|
hooks:
|
|
- id: terraform_tflint
|
|
- id: terraform_fmt
|
|
- id: terraform_validate
|
|
exclude: modules
|
|
- id: terraform_docs
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-executables-have-shebangs
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: check-yaml
|
|
- id: detect-aws-credentials
|
|
args:
|
|
- --allow-missing-credentials
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: fix-byte-order-marker
|
|
- id: pretty-format-json
|
|
files: .*\.json$
|
|
args:
|
|
- --autofix
|
|
- --indent=2
|
|
- --no-sort-keys
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
|
rev: 0.2.2
|
|
hooks:
|
|
- id: yamlfmt
|
|
args:
|
|
- --implicit_start
|
|
- --preserve-quotes
|
|
- --mapping=2
|
|
- --offset=2
|
|
- --sequence=4
|
|
- --width=300
|