-
Notifications
You must be signed in to change notification settings - Fork 13
/
.pre-commit-config.yaml
37 lines (34 loc) · 1.14 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
repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.12.0
hooks:
- id: ggshield
language_version: python3
stages: [commit]
# - repo: https://github.com/pre-commit/mirrors-jshint
# rev: '' # Use the sha / tag you want to point at
# hooks:
# - id: jshint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.7.1" # Use the sha / tag you want to point at
hooks:
- id: prettier
exclude: |
(?x)^(
.github/.*|
src/config/.*|
src/CHANGELOG.md|
src/config/.*|
CHANGELOG.md|
changelog.md|
docs/windows install walkthrough/*.pdf|
docs/api_doc/butler-api.html
)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 # Use the ref you want to point at
hooks:
- id: check-case-conflict
- id: check-json
- id: check-xml
- id: check-yaml
- id: detect-private-key