-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (36 loc) · 911 Bytes
/
.pre-commit-config.yaml
File metadata and controls
36 lines (36 loc) · 911 Bytes
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
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
exclude: ^(migrations/)
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
args:
[
"--profile",
"black",
"--filter-files",
"--skip",
"venv",
]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.16.0
hooks:
- id: eslint
additional_dependencies:
- eslint@8.16.0
- eslint-config-airbnb@19.0.4
- eslint-config-prettier@8.5.0
- eslint-plugin-import@2.26.0
- eslint-plugin-jsx-a11y@6.5.1
- eslint-plugin-react@7.30.0
- eslint-plugin-react-hooks@4.5.0
args: ["--fix"]
files: frontend/src/