forked from benweissmann/memongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
45 lines (42 loc) · 821 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
44
45
linters-settings:
gocyclo:
min-complexity: 20
depguard:
list-type: blacklist
include-go-root: true
packages:
- math/rand
linters:
enable:
- deadcode
- errcheck
- gas
- gocyclo
- gofmt
- goimports
- golint
- ineffassign
- maligned
- misspell
- unconvert
- varcheck
- govet
- staticcheck
- unused
- gosimple
- gosec
- depguard
enable-all: false
issues:
# Gometalinter ignores too many things by default; we add back just a few
# exceptions
exclude-use-default: false
exclude:
- Error return value of .(.*Close|.*Flush|os\.Remove(All)?|os\.(Un)?Setenv). is not checked
exclude-rules:
- path: _test\.go|acceptance/
linters:
- gocyclo
- errcheck
- gosec
- maligned