-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
47 lines (47 loc) · 1.37 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
---
# spell-checker:disable
repos:
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.0
hooks:
- id: yamllint
files: \.(yml|yaml|talismanrc)$
# cloud-init file *must* begin with #cloud-config so do not include in
# strict check
# kitchen yaml includes ERB code and that trips yamllint.
exclude: (cloud_config|kitchen)\.yml$
types: [file, yaml]
entry: yamllint --strict
- id: yamllint
name: yamllint-cloud-config
files: cloud_config\.yml$
entry: yamllint
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.48.0
hooks:
- id: terraform_fmt
- id: terraform_docs
args: ['--args=--sort-by-required']
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5
hooks:
- id: bundler-audit
- id: reek
- id: rubocop
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.7.1.1
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: detect-private-key
- id: end-of-file-fixer
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/thoughtworks/talisman
rev: v1.11.0
hooks:
- id: talisman-commit