-
Notifications
You must be signed in to change notification settings - Fork 60
/
.pre-commit-config.yaml
41 lines (37 loc) · 1.13 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
exclude: \.txt$
- id: trailing-whitespace
exclude: \.txt$
- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.29.0
hooks:
- id: markdownlint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5 # or specific git tag
hooks:
- id: forbid-binary
exclude: (\.ico|\.mqproj)$
- id: git-check # Configure in .gitattributes
# exclude: \.txt$
# @fixme: https://github.com/jumanjihouse/pre-commit-hooks/issues/79
# - id: markdownlint # Configure in .mdlrc
# - id: require-ascii
- id: script-must-have-extension
# - id: shellcheck
- id: shfmt
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
hooks:
- id: yamllint
args: ["-c", ".yamllint", "-s"]