forked from google/keytransparency
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prototool.yaml
50 lines (44 loc) · 1.36 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
# Paths to exclude when searching for Protobuf files.
#excludes:
#- path/to/a
#- path/to/b/file.proto
# Protoc directives.
protoc:
# The Protobuf version to use from https://github.com/protocolbuffers/protobuf/releases.
# You probably want to set this to make your builds completely reproducible.
version: 3.6.1
# Additional paths to include with -I to protoc.
# By default, the directory of the config file is included,
# or the current directory if there is no config file.
includes:
- core/api
- ../trillian/
- ../../googleapis/googleapis/
- ../tink/proto
# Lint directives.
lint:
# Linter files to ignore.
# ignores:
# - id: RPC_NAMES_CAMEL_CASE
# files:
# - path/to/foo.proto
# - path/to/bar.proto
# - id: SYNTAX_PROTO3
# files:
# - path/to/foo.proto
# Linter rules.
# Run prototool list-all-linters to see all available linters.
rules:
# Determines whether or not to include the default set of linters.
# no_default: true
# The specific linters to add.
# add:
# The specific linters to remove.
remove:
- FILE_OPTIONS_REQUIRE_JAVA_PACKAGE
- FILE_OPTIONS_REQUIRE_JAVA_MULTIPLE_FILES
- FILE_OPTIONS_JAVA_MULTIPLE_FILES_SAME_IN_DIR
- FILE_OPTIONS_REQUIRE_JAVA_OUTER_CLASSNAME
- FILE_OPTIONS_EQUAL_GO_PACKAGE_PB_SUFFIX
- REQUEST_RESPONSE_TYPES_IN_SAME_FILE
- REQUEST_RESPONSE_TYPES_UNIQUE