806266e6dc
The versions.tf conflicts with terragrunt's generated backend.tf which already has required_providers. Exclude modules/ from tofu-validate and tflint pre-commit hooks since they can't init without the full terragrunt context.
27 lines
671 B
YAML
27 lines
671 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
types: [yaml]
|
|
- id: trailing-whitespace
|
|
types: [yaml]
|
|
- repo: https://github.com/gruntwork-io/pre-commit
|
|
rev: v0.1.30
|
|
hooks:
|
|
- id: tofu-fmt
|
|
- id: tofu-validate
|
|
exclude: ^modules/
|
|
- id: tflint
|
|
exclude: ^modules/
|
|
- id: terragrunt-hcl-fmt
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
rev: v1.37.1
|
|
hooks:
|
|
- id: yamllint
|
|
args:
|
|
[
|
|
"-d {extends: relaxed, rules: {line-length: disable}, ignore: chart}",
|
|
"-s",
|
|
]
|