-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
56 lines (56 loc) · 1.42 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
50
51
52
53
54
55
56
---
fail_fast: false
repos:
- hooks:
- args:
- -c
- .github/yamllint.config.yaml
id: yamllint
repo: https://github.com/adrienverge/yamllint
rev: v1.26.1
- hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- args:
- --maxkb=5120
id: check-added-large-files
- id: check-merge-conflict
- id: check-executables-have-shebangs
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
- hooks:
- id: remove-crlf
- id: remove-tabs
repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10
- hooks:
- additional_dependencies: []
args:
- --severity=error
id: shellcheck
language: script
repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5
- hooks:
- id: fix-smartquotes
repo: https://github.com/sirosen/fix-smartquotes
rev: 0.2.0
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.12
hooks:
- id: terraform-fmt
- id: terraform-validate
- id: tflint
- repo: local
hooks:
- id: check-ansible-vault
name: check-ansible-vault
entry: scripts/vault-check.sh
language: script
always_run: true
- repo: https://github.com/k8s-at-home/sops-pre-commit
rev: v2.0.3
hooks:
- id: forbid-secrets