forked from trussworks/terraform-aws-wafv2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
45 lines (40 loc) · 1003 Bytes
/
.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
39
40
41
42
43
44
45
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
- id: pretty-format-json
args:
- --autofix
- id: trailing-whitespace
- repo: git://github.com/igorshubovych/markdownlint-cli
rev: v0.23.2
hooks:
- id: markdownlint
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.32.0
hooks:
- id: terraform_docs
- id: terraform_fmt
- repo: local
hooks:
- id: go-version
name: go version
entry: scripts/check-go-version
language: script
types: [go]
- repo: local
hooks:
- id: gomod
name: gomod
entry: scripts/pre-commit-go-mod
language: script
files: go.mod
pass_filenames: false
- repo: git://github.com/golangci/golangci-lint
rev: v1.30.0
hooks:
- id: golangci-lint