-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
67 lines (59 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/camunda/infraex-common-config
rev: 1.2.5 # use tags until renovate supports sha: https://github.com/renovatebot/renovate/issues/22567
hooks:
- id: update-action-readmes-docker
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
args: [--allow-multiple-documents]
- id: check-json
- id: check-symlinks
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- repo: https://github.com/rhysd/actionlint
rev: v1.7.3
hooks:
- id: actionlint-docker
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 38.142.2
hooks:
- id: renovate-config-validator
args: [--strict]
# TODO : revert this when https://github.com/renovatebot/pre-commit-hooks/issues/2460 is fixed
language_version: 20.18.0
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [--strict, --force-scope]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.96.2
hooks:
- id: terraform_fmt
- id: terraform_tflint
args:
- --args=--config=__GIT_WORKING_DIR__/.lint/tflint/.tflint.hcl
- id: terraform_docs
args:
- --hook-config=--path-to-file=README.md
- --hook-config=--create-file-if-not-exist=true
- --hook-config=--add-to-existing-file=true
- --args=--config=.lint/terraform_docs/.terraform-docs.yml
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
args: [-c, .yamllint.yaml]
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
- id: yamlfmt