-
Notifications
You must be signed in to change notification settings - Fork 152
/
buf.yaml
42 lines (42 loc) · 891 Bytes
/
buf.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
version: v2
modules:
- path: .
lint:
use:
- STANDARD
except:
- FIELD_NOT_REQUIRED
- PACKAGE_NO_IMPORT_CYCLE
disallow_comment_ignores: true
breaking:
use:
- FILE
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT
- path: api
name: buf.build/akuity/kargo
lint:
use:
- STANDARD
except:
- FIELD_NOT_REQUIRED
- PACKAGE_DIRECTORY_MATCH
- PACKAGE_NO_IMPORT_CYCLE
ignore:
- api/rbac/v1alpha1/generated.proto
- api/v1alpha1/generated.proto
breaking:
use:
- FILE
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT
- path: internal/controller
lint:
disallow_comment_ignores: true
- path: vendor
lint:
disallow_comment_ignores: true
deps:
- buf.build/googleapis/googleapis