forked from bufbuild/buf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-hooks.yaml
58 lines (58 loc) · 1.33 KB
/
.pre-commit-hooks.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
- id: buf-generate
name: buf generate
language: golang
language_version: 1.22.1
entry: buf generate
types: [proto]
pass_filenames: false
- id: buf-breaking
name: buf breaking
language: golang
language_version: 1.22.1
entry: buf breaking
types: [proto]
pass_filenames: false
- id: buf-lint
name: buf lint
language: golang
language_version: 1.22.1
entry: buf lint
types: [proto]
pass_filenames: false
- id: buf-format
name: buf format
language: golang
language_version: 1.22.1
entry: buf format -w --exit-code
types: [proto]
pass_filenames: false
- id: buf-dep-update
name: buf dep update
language: golang
language_version: 1.22.1
entry: buf dep update
files: '(buf\.lock|buf\.yaml)'
pass_filenames: false
- id: buf-dep-prune
name: buf dep prune
language: golang
language_version: 1.22.1
entry: buf dep prune
files: '(buf\.lock|buf\.yaml)'
pass_filenames: false
# Deprecated: use buf-dep-update instead.
- id: buf-mod-update
name: buf mod update
language: golang
language_version: 1.22.1
entry: buf mod update
files: '(buf\.lock|buf\.yaml)'
pass_filenames: false
# Deprecated: use buf-dep-prune instead.
- id: buf-mod-prune
name: buf mod prune
language: golang
language_version: 1.22.1
entry: buf mod prune
files: '(buf\.lock|buf\.yaml)'
pass_filenames: false