-
-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
29 lines (29 loc) · 842 Bytes
/
.pre-commit-config.yaml
File metadata and controls
29 lines (29 loc) · 842 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
repos:
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/flake8
rev: 7.2.0
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
hooks:
- id: prettier
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.43.0
hooks:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
additional_dependencies:
- '@typescript-eslint/eslint-plugin@4.18.0'
- '@typescript-eslint/parser@4.18.0'
- eslint@^6.0.0
- eslint-config-prettier@6.10.1
- eslint-plugin-prettier@3.1.4
- eslint-plugin-react@7.21.5
- typescript@4.1.3