-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
49 lines (46 loc) · 1.42 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
default_language_version:
node: "14.16.1"
python: "python3.9"
exclude: ^.*/vendor/.*|.*\.svg$
minimum_pre_commit_version: "1.17.0"
repos:
- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v2.17.13"
hooks:
- id: "commitizen"
language_version: "python3.9"
stages: ["commit-msg"]
- repo: "https://github.com/pre-commit/mirrors-prettier"
rev: "v2.3.2"
hooks:
- id: "prettier"
name: "Format code (prettier)"
exclude: ^.github/.*|.*/templates/.*$
stages: ["commit"]
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.0.1"
hooks:
- id: "end-of-file-fixer"
- id: "trailing-whitespace"
- id: "check-json"
- id: "check-toml"
- id: "check-yaml"
- repo: "https://github.com/pre-commit/mirrors-eslint"
rev: "v7.32.0"
hooks:
- id: "eslint"
name: "Lint code (eslint)"
args: ["--fix"]
additional_dependencies:
- "babel-eslint@10.1.0"
- "eslint@7.32.0"
- "eslint-config-prettier@8.3.0"
- "eslint-config-standard@16.0.3"
- "eslint-plugin-import@2.23.4"
- "eslint-plugin-node@11.1.0"
- "eslint-plugin-prettier@3.4.0"
- "eslint-plugin-promise@5.1.0"
- "eslint-plugin-react@7.24.0"
- "eslint-plugin-react-hooks@4.2.0"
- "eslint-plugin-standard@5.0.0"
- "prettier@2.3.2"