forked from bufbuild/buf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-hooks.yaml
42 lines (42 loc) · 932 Bytes
/
.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
- 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-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
- 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