-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
68 lines (68 loc) · 1.68 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
68
---
fail_fast: false
ci:
skip:
- ggshield
autoupdate_schedule: monthly
repos:
- repo: meta
hooks:
# - id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.1.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/gitguardian/ggshield
rev: v1.34.0
hooks:
- id: ggshield
language_version: python3
stages: [pre-commit]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=2048]
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: check-yaml
files: /.(yaml|yml)$
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: forbid-submodules
- id: mixed-line-ending
args:
- --fix=lf
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/sirosen/texthooks
rev: 0.6.8
hooks:
- id: alphabetize-codeowners
- id: fix-smartquotes
- id: fix-ligatures
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.43.0
hooks:
- id: markdownlint
args:
- --config
- .config/.markdown-lint.yml
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
args:
- -c
- .config/.yaml-lint.yml