forked from cloudfoundry-incubator/quarks-statefulset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
43 lines (41 loc) · 801 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
41
42
43
run:
deadline: 20s
skip-dirs:
- vendor
- pkg/kube/client
linters-settings:
dupl:
threshold: 400
issues:
# don't skip warning about doc comments
exclude-use-default: false
# restore some of the defaults
# (fill in the rest as needed)
exclude-rules:
- linters: [errcheck]
text: "Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remove(All)?|.*printf?|os\\.(Un)?Setenv|.*Errorf|viper.BindPFlag). is not checked"
skip-files:
- ".*_fake.go$"
skip-dirs:
- pkg/kube/client
linters:
disable-all: true
enable:
- misspell
- structcheck
- golint
- govet
- staticcheck
- deadcode
- errcheck
- varcheck
- unparam
- ineffassign
- nakedret
- gocyclo
- dupl
- goimports
- golint
- gosimple
- typecheck
- unused