-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
24 lines (24 loc) · 881 Bytes
/
.pre-commit-config.yaml
File metadata and controls
24 lines (24 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
repos:
# Disabled as it is currently broken: https://github.com/hashicorp/copywrite/issues/78
# - repo: https://github.com/hashicorp/copywrite
# rev: v0.16.4 # Use any release tag
# hooks:
# - id: add-headers
# - id: check-headers
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 # Get the latest from: https://github.com/pre-commit/pre-commit-hooks/releases
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_validate
- id: terraform_fmt #* this version of terraform fmt hook fix files
- repo: https://github.com/terraform-docs/terraform-docs
rev: v0.16.0
hooks:
- id: terraform-docs-system
args: ["."]
...