-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.pre-commit-config.yaml
38 lines (34 loc) · 1010 Bytes
/
.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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.23.1
hooks:
- id: markdownlint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: master # or specific git tag
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/adrienverge/yamllint.git
rev: v1.23.0
hooks:
- id: yamllint
args: ["-c", ".yamllint", "-s"]