generated from karvounis/simple-terraform-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (38 loc) · 1.05 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
exclude: ^docs/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: detect-private-key
- id: detect-aws-credentials
- id: destroyed-symlinks
- id: check-merge-conflict
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: 2a1a122656549317f4e92dc8ccc7e27e8b6d259b
hooks:
- id: markdownlint-docker
- id: markdownlint-fix-docker
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
hooks:
- id: go-fmt
- id: go-mod-tidy
- id: golangci-lint
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.64.0
hooks:
- id: terraform_fmt
- id: terraform_tflint
- repo: local
hooks:
- id: tfplugindocs
name: Generate Terraform plugin documentation.
entry: make docs
language: system