-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pre-commit-config.yaml
43 lines (43 loc) · 1.2 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
39
40
41
42
43
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: check-executables-have-shebangs
- id: detect-private-key
- id: end-of-file-fixer
- id: file-contents-sorter
- id: requirements-txt-fixer
- id: check-yaml
exclude: "{cilium,codedns}/files/manifests.yml"
- id: sort-simple-yaml
- id: check-added-large-files
- id: double-quote-string-fixer
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.96.1
hooks:
- id: terraform_fmt
args:
- --args=-recursive
- --args=-write=true
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.23
hooks:
- id: terraform-validate
# - id: tflint
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
hooks:
- id: go-fmt
- id: go-imports
- id: no-go-testing
- repo: https://github.com/bridgecrewio/checkov.git
rev: 3.2.257
hooks:
- id: checkov
# - id: checkov_diff
# - id: checkov_secrets
# - id: checkov_container
# - id: checkov_diff_container
# - id: checkov_secrets_container