forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
40 lines (37 loc) · 795 Bytes
/
.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
run:
deadline: 13m
skip-dirs:
- .git
- .tool
- vendor
- verify
linters-settings:
dupl:
threshold: 100
gocyclo:
min-complexity: 50
govet:
enable:
- nilness
linters:
enable:
- govet
- unused
- misspell
- ineffassign
- staticcheck
- gosimple
- exportloopref
disable-all: true
issues:
exclude-rules:
- linters:
- golint
text: ".*should not use dot dot imports"
- linters:
- staticcheck
text: "SA1019: fakectrlruntimeclient.NewFakeClient is deprecated"
- linters:
- staticcheck
# TODO: Is this really supposed to be deprecated? Ref https://github.com/kubernetes/test-infra/issues/14875
text: "SA1019: t.*.TrustedOrg is deprecated: TrustedOrg functionality is deprecated and will be removed in January 2020"