-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.golangci.yaml
59 lines (57 loc) · 1023 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
linters:
enable-all: true
disable:
- deadcode
- scopelint
- exhaustivestruct
- structcheck
- interfacer
- maligned
- golint
- nosnakecase
- ifshort
- varcheck
- depguard
- exhaustruct
- gomnd
- funlen
- ireturn
- err113
- execinquery
- mnd
issues:
exclude-rules:
- path: _test\.go
linters:
- lll
- gocognit
- cyclop
- wrapcheck
- maintidx
- dogsled
- contextcheck
- dupword
- dupl
- funlen
linters-settings:
varnamelen:
ignore-names:
- tt
ignore-decls:
- i int
- a ...any
- err error
- ok bool
- id string
- w http.ResponseWriter
- rt http.RoundTripper
- r *http.Request
- l net.Listener
- t reflect.Type
- wg sync.WaitGroup
- k *koanf.Koanf
- mu sync.Mutex
- ts oauth2.TokenSource
- ca *testcerts.CertificateAuthority
lll:
line-length: 160