-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
49 lines (49 loc) · 1.27 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
44
45
46
47
48
49
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: check-yaml
args: ['--allow-multiple-documents']
- id: check-json
- id: detect-aws-credentials
- id: detect-private-key
- id: trailing-whitespace
- id: check-added-large-files
args: ['--maxkb=150']
- id: check-byte-order-marker
- id: check-merge-conflict
- id: check-symlinks
- id: end-of-file-fixer
- id: check-executables-have-shebangs
- id: flake8
- id: pretty-format-json
args: ['--autofix']
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 1.11.0
hooks:
- id: forbid-binary
exclude: >
(?x)^(
pkg/color/testdata/.+\.png|
pkg/screen/gifs/.+\.gif
)$
- id: shellcheck
- id: git-check
- repo: https://github.com/dnephin/pre-commit-golang.git
rev: v0.3.4
hooks:
- id: go-fmt
- id: go-vet
- id: golangci-lint
- id: go-unit-tests
- id: go-build
- repo: https://github.com/kintoandar/pre-commit.git
rev: v2.1.0
hooks:
- id: terraform_fmt
- id: terraform_validate
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.0.9
hooks:
- id: helmlint