-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
66 lines (63 loc) · 982 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
run:
timeout: 5m
issues:
include:
- EXC0004
- EXC0005
- EXC0011
- EXC0012
- EXC0013
- EXC0014
- EXC0015
linters:
enable:
- asciicheck
- bodyclose
- dogsled
- errname
- errorlint
- exportloopref
- forcetypeassert
- gocognit
- goconst
- gocritic
- gofmt
- goimports
- goprintffuncname
- gosec
- gosimple
- importas
- makezero
- misspell
- nakedret
- nilerr
- prealloc
- predeclared
- revive
- rowserrcheck
- stylecheck
- unconvert
- unparam
- wastedassign
linters-settings:
errorlint:
errorf: true
gosec:
excludes:
- G204
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
disabled-checks:
- whyNoLint
settings:
hugeParam:
sizeThreshold: 256
rangeValCopy:
sizeThreshold: 256
misspell:
locale: US