-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.golangci.yml
66 lines (55 loc) · 1.15 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
---
run:
timeout: 3m
issues-exit-code: 1
tests: true
build-tags:
- test
skip-dirs-use-default: true
modules-download-mode: readonly
allow-parallel-runners: true
output:
format: colored-line-number
print-issued-lines: true
print-linter-name: true
uniq-by-line: false
linters-settings:
errcheck:
check-type-assertions: true
check-blank: true
exhaustive:
default-signifies-exhaustive: false
govet:
enable-all: true
check-shadowing: true
unparam:
check-exported: false
unused:
check-exported: false
linters:
disable-all: true
enable:
- govet
- staticcheck
- errcheck
- unused
- unparam
fast: false
issues:
max-issues-per-linter: 0
max-same-issues: 0
new: false
exclude-rules:
# these rules are for the sake of deprecated protobuf pakcage which is used by Envoy
- path: internal/k8s/store/store_test.go
linters:
- staticcheck
text: "SA1019:"
- path: internal/k8s/store/store.go
linters:
- staticcheck
text: "SA1019:"
- path: internal/k8s/testutils/testutil.go
linters:
- staticcheck
text: "SA1019:"