-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
56 lines (52 loc) · 1.43 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-case-conflict
stages: ['commit']
- id: check-executables-have-shebangs
stages: ['commit']
- id: check-json
stages: ['commit']
- id: check-merge-conflict
stages: ['commit']
- id: check-symlinks
stages: ['commit']
- id: check-toml
stages: ['commit']
- id: check-xml
stages: ['commit']
- id: check-yaml
args:
- "--allow-multiple-documents"
stages: ['commit']
- id: destroyed-symlinks
stages: ['commit']
- id: detect-private-key
stages: ['commit']
- id: end-of-file-fixer
stages: ['commit']
exclude: "^(.*/)?cmdline.txt$"
- id: fix-byte-order-marker
stages: ['commit']
- id: mixed-line-ending
stages: ['commit']
- id: trailing-whitespace
stages: ['commit']
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.0.2
hooks:
- id: ansible-lint
exclude: .pre-commit-config.yaml
stages: ['commit']
- repo: https://git.iamthefij.com/iamthefij/ansible-pre-commit.git
rev: v0.1.2
hooks:
- id: encryption-check
stages: ['commit']
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs.git
rev: v1.1.2
hooks:
- id: markdown-toc
stages: ['commit']