mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:04:54 +07:00
21fac43e57
OpenTofu is a drop-in replacement for Terraform, so aside from changing the binary, it only needs some minor adjustments.
26 lines
707 B
YAML
26 lines
707 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/gruntwork-io/pre-commit
|
|
rev: v0.1.24
|
|
hooks:
|
|
- id: helmlint
|
|
- id: shellcheck
|
|
- repo: https://github.com/tofuutils/pre-commit-opentofu
|
|
rev: v2.1.0
|
|
hooks:
|
|
- id: tofu_fmt
|