|
1 | 1 | repos: |
| 2 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + rev: v6.0.0 |
| 4 | + hooks: |
| 5 | + - id: check-added-large-files |
| 6 | + - id: check-case-conflict |
| 7 | + - id: check-executables-have-shebangs |
| 8 | + - id: check-illegal-windows-names |
| 9 | + - id: check-json |
| 10 | + - id: check-merge-conflict |
| 11 | + - id: check-shebang-scripts-are-executable |
| 12 | + - id: check-symlinks |
| 13 | + - id: check-yaml |
| 14 | + - id: detect-private-key |
| 15 | + - id: end-of-file-fixer |
| 16 | + - id: pretty-format-json |
| 17 | + - id: trailing-whitespace |
| 18 | + args: [--markdown-linebreak-ext=md] |
2 | 19 | - repo: https://github.com/antonbabenko/pre-commit-terraform |
3 | | - rev: v1.71.0 |
| 20 | + rev: v1.104.0 |
4 | 21 | hooks: |
5 | 22 | - id: terraform_docs |
6 | 23 | - id: terraform_fmt |
| 24 | + - id: terraform_tflint |
| 25 | + args: |
| 26 | + - '--args=--only=terraform_comment_syntax' |
| 27 | + - '--args=--only=terraform_deprecated_index' |
| 28 | + - '--args=--only=terraform_deprecated_interpolation' |
| 29 | + - '--args=--only=terraform_deprecated_lookup' |
| 30 | + - '--args=--only=terraform_documented_outputs' |
| 31 | + - '--args=--only=terraform_documented_variables' |
| 32 | + - '--args=--only=terraform_empty_list_equality' |
| 33 | + - '--args=--only=terraform_json_syntax' |
| 34 | + - '--args=--only=terraform_map_duplicate_keys' |
| 35 | + - '--args=--only=terraform_module_pinned_source' |
| 36 | + - '--args=--only=terraform_module_shallow_clone' |
| 37 | + - '--args=--only=terraform_module_version' |
| 38 | + - '--args=--only=terraform_required_version' |
| 39 | + - '--args=--only=terraform_standard_module_structure' |
| 40 | + - '--args=--only=terraform_typed_variables' |
| 41 | + - '--args=--only=terraform_unused_declarations' |
| 42 | + - '--args=--only=terraform_unused_required_providers' |
| 43 | + - '--args=--only=terraform_workspace_remote' |
7 | 44 | - id: terraform_validate |
| 45 | + - id: terraform_trivy |
| 46 | + args: |
| 47 | + - --args=--skip-dirs="**/.terraform" |
0 commit comments