-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
58 lines (51 loc) · 1.38 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
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-toml
- id: check-json
- id: check-yaml
- id: check-xml
- id: check-added-large-files
- id: debug-statements
- id: check-merge-conflict
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4 # needed for py < 3.8.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.24.0
hooks:
- id: eslint
additional_dependencies:
- eslint@8.23.1
- typescript@4.3.5
- prettier@2.7.1
- '@typescript-eslint/eslint-plugin@5.38.0'
- '@typescript-eslint/parser@5.38.0'
- eslint-config-prettier@^8.5.0
- eslint-plugin-prettier@^4.2.1
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
hooks:
- id: prettier
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint