forked from nimasmi/django-gov-notify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
50 lines (50 loc) · 1.47 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
repos:
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.15
hooks:
- id: isort
language_version: python3.6
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
hooks:
- id: flake8
language_version: python3.6
- repo: https://github.com/python/black
rev: 19.10b0
hooks:
- id: black
language_version: python3.6
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v6.5.1
hooks:
- id: eslint
additional_dependencies:
- "@babel/[email protected]"
- "@babel/[email protected]"
- "@babel/[email protected]"
- repo: https://github.com/prettier/prettier
rev: 1.18.2
hooks:
- id: prettier
- repo: https://github.com/awebdeveloper/pre-commit-stylelint
sha: c4c991cd38b0218735858716b09924f8b20e3812
hooks:
- id: stylelint
additional_dependencies:
- repo: https://github.com/Yelp/detect-secrets
rev: v0.13.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
exclude: .*/tests/.*