-
Notifications
You must be signed in to change notification settings - Fork 28
/
.golangci.yml
65 lines (63 loc) · 1.11 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
run:
deadline: 1m
tests: false
issues:
exclude-files:
- ".*\\.pb\\.go$"
- ".*\\.pb\\.gw\\.go$"
- ".*\\.gen\\.go$"
- "_test\\.go$"
- "testing.go$"
- ".*doc\\.go$"
linters-settings:
golint:
min-confidence: 0
maligned:
suggest-new: true
misspell:
locale: US
gci:
sections:
- standard
- default
- prefix(berty.tech)
# - prefix(github.com/libp2p)
# - prefix(github.com/ipfs)
linters:
disable-all: true
enable:
- asciicheck
- bodyclose
#- depguard
- dogsled
- errcheck
#- exhaustive # nice to have
- exportloopref
- gci
- gochecknoinits
#- gocognit # nice to have
#- goconst
- gocritic
#- godot # nice to have
#- goerr113 # nice to have
- gofmt
- gofumpt
- goimports
- revive
#- gomnd # nice to have
- gomodguard
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- noctx
#- nolintlint
- exportloopref
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- whitespace