-
Notifications
You must be signed in to change notification settings - Fork 2
/
buf.yaml
52 lines (52 loc) · 1.46 KB
/
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
43
44
45
46
47
48
49
50
51
52
version: v1
name: buf.build/hiber/api
breaking:
use:
- WIRE
except:
- FIELD_WIRE_COMPATIBLE_TYPE
lint:
use:
- DEFAULT
except:
- ENUM_VALUE_PREFIX
- DIRECTORY_SAME_PACKAGE
- PACKAGE_SAME_JAVA_MULTIPLE_FILES # this works fine for Java
- PACKAGE_DIRECTORY_MATCH
- PACKAGE_VERSION_SUFFIX
- RPC_RESPONSE_STANDARD_NAME
- RPC_REQUEST_STANDARD_NAME
- RPC_REQUEST_RESPONSE_UNIQUE
ignore_only:
# For C++ compatibility, enums in the same package can not have the same enum value names
# This is mostly not an issue, since the values are mostly unique within a package, except for:
# the unknown/unspecified zeroth enum value.
# We should start making those unique.
ENUM_ZERO_VALUE_SUFFIX:
- assignment.proto
- base.proto
- easypulse.proto
- event.proto
- export.proto
- field.proto
- field_service.proto
- integration_mqtt.proto
- integration_slack.proto
- map.proto
- message.proto
- modem.proto
- modem_alarm.proto
- modem_message_body_parser.proto
- modem_message_downlink.proto
- modem_transfer.proto
- organization.proto
- permission.proto
- publisher.proto
- subscription.proto
- unit_preferences_service.proto
- user.proto
- value.proto
- value_service.proto
- webhook.proto
# The sort enum is unique in its own right and doesn't need a suffix.
- device.proto