This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prototool.yaml
56 lines (53 loc) · 1.75 KB
/
prototool.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
# Paths to exclude when searching for Protobuf files.
# These can either be file or directory names.
# If there is a directory name, that directory and all sub-directories will be excluded.
excludes:
- third_party
protoc:
version: 3.9.1
includes:
- third_party/googleapis
- third_party/grpc/src/proto
generate:
go_options:
import_path: github.com/takumi-software/lets-work-together-my-theresa
plugins:
- name: go
type: go
output: protos/go
flags: plugins=grpc
# Lint directives.
lint:
group: uber2
rules:
# The specific linters to remove.
remove:
- PACKAGE_MAJOR_BETA_VERSIONED
- REQUEST_RESPONSE_TYPES_IN_SAME_FILE
- REQUEST_RESPONSE_TYPES_UNIQUE
- REQUEST_RESPONSE_TYPES_ONLY_IN_FILE
- SERVICE_NAMES_API_SUFFIX
- SERVICES_HAVE_COMMENTS
- SERVICES_HAVE_SENTENCE_COMMENTS
- RPCS_HAVE_COMMENTS
- RPCS_HAVE_SENTENCE_COMMENTS
- MESSAGES_HAVE_COMMENTS
- MESSAGES_HAVE_COMMENTS_EXCEPT_REQUEST_RESPONSE_TYPES
- MESSAGES_HAVE_SENTENCE_COMMENTS_EXCEPT_REQUEST_RESPONSE_TYPES
- MESSAGE_FIELDS_HAVE_COMMENTS
- MESSAGE_FIELDS_HAVE_SENTENCE_COMMENTS
- ENUMS_HAVE_COMMENTS
- ENUMS_HAVE_SENTENCE_COMMENTS
- ENUM_FIELDS_HAVE_COMMENTS
- ENUM_FIELDS_HAVE_SENTENCE_COMMENTS
- WKT_DURATION_SUFFIX
- WKT_TIMESTAMP_SUFFIX
- SERVICE_NAMES_MATCH_FILE_NAME
- FILE_OPTIONS_REQUIRE_OBJC_CLASS_PREFIX
- FILE_OPTIONS_REQUIRE_JAVA_MULTIPLE_FILES
- FILE_OPTIONS_REQUIRE_JAVA_OUTER_CLASSNAME
- FILE_OPTIONS_REQUIRE_JAVA_PACKAGE
- FILE_OPTIONS_UNSET_JAVA_MULTIPLE_FILES
- FILE_OPTIONS_UNSET_JAVA_OUTER_CLASSNAME
- FILE_OPTIONS_GO_PACKAGE_NOT_LONG_FORM
- FILE_OPTIONS_EQUAL_GO_PACKAGE_V2_SUFFIX