-
Notifications
You must be signed in to change notification settings - Fork 12
/
.pre-commit-config.yaml
39 lines (39 loc) · 1.03 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
---
repos:
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
files: \.(yml|yaml|talismanrc)$
types:
- file
- yaml
exclude: (kitchen\.yml|\.github/ISSUE_TEMPLATE/config\.yml)$
entry: yamllint --strict
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.92.0
hooks:
- id: terraform_fmt
- id: terraform_docs
args:
- '--args=--sort-by=required --hide=providers'
- repo: https://github.com/mattlqx/pre-commit-ruby
rev: v1.3.6
hooks:
- id: rubocop
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: detect-private-key
- id: end-of-file-fixer
- id: no-commit-to-branch
args:
- -b
- main
- id: trailing-whitespace
- repo: https://github.com/thoughtworks/talisman
rev: v1.32.0
hooks:
- id: talisman-commit