generated from memes/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (45 loc) · 1.19 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
---
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.96.1
hooks:
- id: terraform_fmt
- id: terraform_docs
args:
- '--args=--sort-by=required --hide=providers'
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
- 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: v5.0.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