-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (44 loc) · 1.15 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: debug-statements
stages: [commit]
- id: check-merge-conflict
stages: [commit]
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
stages: [commit]
files: backend/
language_version: python3
- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort
stages: [commit]
files: backend/
- repo: https://github.com/humitos/mirrors-autoflake.git
rev: v1.1
hooks:
- id: autoflake
stages: [commit]
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
files: backend/
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.32.0
hooks:
- id: eslint
stages: [commit]
files: frontend/src/
additional_dependencies:
- eslint
- typescript-eslint
- eslint-plugin-svelte3
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.4.1
hooks:
- id: prettier
stages: [commit]
files: frontend/src/