-
-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy path.golangci.yaml
More file actions
70 lines (70 loc) · 1.16 KB
/
Copy path.golangci.yaml
File metadata and controls
70 lines (70 loc) · 1.16 KB
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
67
68
69
70
version: "2"
linters:
default: none
enable:
- asasalint
- asciicheck
- bidichk
- canonicalheader
- contextcheck
- copyloopvar
- decorder
- dupword
- durationcheck
- errcheck
- errchkjson
- errname
- fatcontext
- ginkgolinter
- gocheckcompilerdirectives
- gochecksumtype
- gocyclo
- goheader
- gomodguard
- gosmopolitan
- govet
- grouper
- importas
- ineffassign
- loggercheck
- maintidx
- mirror
- misspell
- nakedret
- nilerr
- nolintlint
- nosprintfhostport
- promlinter
- protogetter
- reassign
- rowserrcheck
- sloglint
- spancheck
- sqlclosecheck
- staticcheck
- testableexamples
- testifylint
- tparallel
- unconvert
- usestdlibvars
- usetesting
- wastedassign
- zerologlint
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$