-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
46 lines (43 loc) · 1.26 KB
/
.pre-commit-config.yaml
File metadata and controls
46 lines (43 loc) · 1.26 KB
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
46
repos:
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
hooks:
- id: go-fmt
name: Format Go code
- id: go-vet
name: Verify Go code
- id: golangci-lint
name: Run golangci-lint
args:
- --exclude
- "Error return value of .(d.Set). is not checked"
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.83.5
hooks:
- id: terraform_fmt
name: Format Terraform code
- id: terraform_validate
name: Validate Terraform code
- id: terraform_tflint
name: Lint Terraform code
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
hooks:
- id: markdownlint
name: Lint Markdown files
args: [--config=.markdownlint.yaml]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
name: Trim trailing whitespace
- id: end-of-file-fixer
name: Fix end of files
- id: check-yaml
name: Check YAML files
- id: mixed-line-ending
name: Fix line endings
- id: check-merge-conflict
name: Check for merge conflicts
- id: detect-private-key
name: Detect private keys