forked from weaviate/weaviate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
70 lines (70 loc) · 2.17 KB
/
.golangci.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
linters:
disable:
- errcheck
enable:
- misspell
- bodyclose
- gofumpt
- exhaustive
- govet
- unused
- nolintlint
linters-settings:
exhaustive:
# Presence of "default" case in switch statements satisfies exhaustiveness,
# even if all enum members are not listed.
default-signifies-exhaustive: true
issues:
exclude-rules:
# Exclude some staticcheck messages
- linters:
- staticcheck
text: "S1034"
- linters:
- staticcheck
text: "SA1029:"
- linters:
- staticcheck
text: "SA1015:"
- linters:
- staticcheck
text: "SA5011"
- linters:
- govet
text: "composites"
- linters:
- staticcheck
path: adapters/handlers/grpc/v1/filters.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
- linters:
- staticcheck
path: adapters/handlers/grpc/v1/prepare_reply.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
- linters:
- staticcheck
path: adapters/handlers/grpc/v1/parse_search_request.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
- linters:
- staticcheck
path: adapters/handlers/grpc/v1/batch_parse_request.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
- linters:
- staticcheck
path: adapters/handlers/grpc/v1/service.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
- linters:
- staticcheck
path: test/acceptance/grpc/grpc_test_deprecated.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
- linters:
- staticcheck
path: adapters/handlers/grpc/v1/mapping.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
- linters:
- staticcheck
path: test/acceptance/grpc/list_value_return_test.go
text: 'SA1019' # TODO: remove this once deprecated gRPC fields are removed from API
run:
build-tags:
- integrationTest
- integrationTestSlow