-
Notifications
You must be signed in to change notification settings - Fork 58
/
.golangci.yaml
46 lines (46 loc) · 805 Bytes
/
.golangci.yaml
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
run:
timeout: 3m
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- misspell
- testifylint
- nolintlint
- bodyclose
- goimports
- importas
- ireturn
- perfsprint
- gocritic
- paralleltest
linters-settings:
errcheck:
check-type-assertions: true
check-blank: true
disable-default-exclusions: true
govet:
enable-all: true
disable:
- shadow
testifylint:
enable-all: true
nolintlint:
require-explanation: true
require-specific: true
perfsprint:
strconcat: false
gocritic:
enable-all: true
disabled-checks:
- importShadow
- hugeParam
- rangeValCopy
- whyNoLint
- unnamedResult
- httpNoBody