-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
147 lines (147 loc) · 3.5 KB
/
.pre-commit-config.yaml
File metadata and controls
147 lines (147 loc) · 3.5 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
repos:
- repo: https://github.com/dycw/pre-commit-hooks
rev: 0.15.22
hooks:
- id: add-hooks
args:
- --ci-github
- --description=Dotfiles
- --fish
- --lua
- --prettier
- --repo-name=dotfiles
- --shell
- --toml
- --xml
priority: 10
- id: check-versions-consistent
priority: 40
- id: format-pre-commit-config
priority: 30
- id: format-pytest
priority: 30
- id: run-prek-autoupdate
priority: 10
- id: run-version-bump
priority: 20
- id: setup-bump-my-version
priority: 20
- id: setup-ci-pull-request
args:
- --repo-name=dotfiles
priority: 20
- id: setup-ci-push
priority: 20
- id: setup-git
priority: 20
- id: setup-pre-commit
priority: 10
- id: setup-readme
args:
- --description=Dotfiles
- --repo-name=dotfiles
priority: 20
- id: update-ci-action-versions
priority: 20
- id: update-ci-extensions
priority: 20
- repo: builtin
hooks:
- id: check-added-large-files
priority: 40
- id: check-case-conflict
priority: 40
- id: check-executables-have-shebangs
priority: 40
- id: check-json
priority: 40
- id: check-json5
priority: 40
- id: check-merge-conflict
priority: 40
- id: check-symlinks
priority: 40
- id: check-toml
priority: 40
- id: check-xml
priority: 40
- id: check-yaml
priority: 40
- id: detect-private-key
priority: 40
- id: end-of-file-fixer
priority: 20
- id: fix-byte-order-marker
priority: 20
- id: mixed-line-ending
args:
- --fix=lf
priority: 20
- id: no-commit-to-branch
priority: 40
- id: trailing-whitespace
priority: 20
- repo: https://github.com/compwa/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-format
args:
- --option=indent_entries=true
- --option=indent_tables=true
- --option=reorder_keys=true
priority: 30
- repo: https://github.com/johnnymorganz/stylua
rev: v2.4.1
hooks:
- id: stylua
priority: 30
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.11.0
hooks:
- id: shellcheck
priority: 40
- repo: https://github.com/pamoller/xmlformatter
rev: v0.2.8
hooks:
- id: xml-formatter
types: []
types_or:
- plist
- xml
args:
- --eof-newline
priority: 30
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-illegal-windows-names
priority: 40
- id: destroyed-symlinks
priority: 40
- id: pretty-format-json
args:
- --autofix
priority: 20
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.13.0-1
hooks:
- id: shfmt
priority: 30
- repo: local
hooks:
- id: fish_indent
name: fish_indent
entry: fish_indent
language: unsupported
files: \.fish$
args:
- --write
priority: 30
- id: prettier
name: prettier
entry: npx prettier --write
language: unsupported
types_or:
- markdown
- yaml
priority: 30