-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
66 lines (59 loc) · 1.69 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
repos:
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
verbose: true
types: [python]
- id: isort
name: isort
entry: isort
language: system
verbose: true
types: [python]
- id: stylelint
name: stylelint
entry: npx stylelint
args: [--fix, --ignore-path, .ignore]
language: system
types: [file]
files: \.(vue|htm|html|css|sss|less|scss|sass|mak|mako|jinja2)$
verbose: true
- id: prettier
name: prettier
entry: npx prettier
args: [--write, --ignore-path, .ignore]
language: system
types: [file]
files: \.(js|json|md|vue|yaml|yml)$ # html
verbose: true
- id: html-beautify
name: html-beautify
entry: npx html-beautify
args: []
language: system
types: [file]
files: \.(htm|html|mak|mako|jinja2)$
verbose: true
stages: [manual]
- id: shfmt
name: shfmt
entry: shfmt
args: [-l, -w, -i, "4", -bn, -sr, -ci]
language: system
types: [shell]
verbose: true
- id: shellcheck
name: shellcheck
entry: shellcheck
language: system
types: [shell]
verbose: true
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
verbose: true