-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
53 lines (47 loc) · 1.31 KB
/
.pre-commit-config.yaml
File metadata and controls
53 lines (47 loc) · 1.31 KB
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
---
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
hooks:
- id: yamllint
args: ["-c", ".yamllint", "-s"]
- repo: https://github.com/ansible-community/ansible-lint
rev: v25.1.3
hooks:
- id: ansible-lint
files: ^ansible/
- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.44.0
hooks:
- id: markdownlint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
exclude: \.txt$
- id: sort-simple-yaml
- id: trailing-whitespace
exclude: \.txt$
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: forbid-binary
exclude: ^(lib|conf/servers)/.*$
- id: git-check # Configure in .gitattributes
- id: markdownlint # Configure in .mdlrc
- id: reek
# - id: require-ascii
# - id: shellcheck
- id: shfmt
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint