-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.pre-commit-config.yaml
62 lines (62 loc) · 1.75 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
default_language_version:
node: system
python: python3.8
repos:
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
# flake8 config is in setup.cfg
rev: 3.8.3
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v6.8.0
hooks:
- id: eslint
additional_dependencies:
- '@babel/[email protected]'
- '@babel/[email protected]'
- '@babel/[email protected]'
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.2
hooks:
- id: prettier
types_or: [markdown, css, scss, javascript, json, yaml, vue]
- repo: https://github.com/awebdeveloper/pre-commit-stylelint
rev: c4c991cd38b0218735858716b09924f8b20e3812
hooks:
- id: stylelint
files: \.(scss|vue)$
additional_dependencies:
- repo: https://github.com/Yelp/detect-secrets
rev: v0.14.3
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
exclude: >
(?x)^(
.*/tests/.*|
package-lock.json|
poetry.lock
)$
- repo: https://github.com/rtts/djhtml
rev: v1.4.11
hooks:
- id: djhtml