forked from orchest/orchest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
43 lines (43 loc) · 1.33 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
repos:
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.6.2"
hooks:
- id: prettier
additional_dependencies:
- prettier@2.1.2
- typescript@4.3.2
- prettier-plugin-organize-imports@2.3.4
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v8.15.0"
hooks:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
additional_dependencies:
- eslint@7.32.0
- prettier@2.1.2
- typescript@4.3.2
- prettier-plugin-organize-imports@2.3.4
- eslint-config-prettier@8.3.0
- eslint-plugin-prettier@3.4.1
- eslint-plugin-react@7.24.0
- eslint-plugin-react-hooks@4.2.0
- "@typescript-eslint/eslint-plugin@4.29.3"
- "@typescript-eslint/parser@4.29.3"
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
hooks:
- id: go-fmt