2023-03-28 22:48:58 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 22:48:58 +00:00
|
|
|
|
2022-05-23 14:37:52 +00:00
|
|
|
version: v1
|
|
|
|
lint:
|
|
|
|
use:
|
|
|
|
- DEFAULT
|
|
|
|
allow_comment_ignores: true
|
|
|
|
except:
|
|
|
|
# we want to enable our Go packages to have a pb prefix to make goimports more
|
|
|
|
# intelligently handle fixing up imports and hopefully getting it right.
|
|
|
|
- PACKAGE_DIRECTORY_MATCH
|
|
|
|
# for internal protos we don't think we need proto versioning suffix for now
|
|
|
|
# also it would break the subscribe service if we change the proto package
|
|
|
|
- PACKAGE_VERSION_SUFFIX
|
|
|
|
|
|
|
|
# TODO - we should be able to remove these once we address the warnings
|
|
|
|
- FIELD_LOWER_SNAKE_CASE
|
|
|
|
- ENUM_VALUE_UPPER_SNAKE_CASE
|
|
|
|
- ENUM_ZERO_VALUE_SUFFIX
|
|
|
|
- ONEOF_LOWER_SNAKE_CASE
|
|
|
|
- ENUM_VALUE_PREFIX
|
|
|
|
service_suffix: ""
|
2023-04-04 16:30:06 +00:00
|
|
|
rpc_allow_google_protobuf_empty_responses: true
|
2022-05-23 14:37:52 +00:00
|
|
|
breaking:
|
|
|
|
use:
|
|
|
|
- FILE
|