forked from jkroepke/openvpn-auth-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
51 lines (49 loc) · 897 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
linters:
enable-all: true
disable:
- depguard
- exhaustruct
- gomnd
- funlen
- ireturn
- err113
- execinquery
- mnd
- exportloopref
issues:
exclude-rules:
- path: _test\.go
linters:
- lll
- gocognit
- cyclop
- wrapcheck
- maintidx
- dogsled
- contextcheck
- dupword
- dupl
- funlen
- gocyclo
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