forked from jkroepke/openvpn-auth-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
51 lines (49 loc) · 836 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:
- deadcode
- scopelint
- exhaustivestruct
- structcheck
- interfacer
- maligned
- golint
- nosnakecase
- ifshort
- varcheck
- depguard
- exhaustruct
- gomnd
- dupl
- forbidigo
- funlen
- ireturn
- goerr113
- gomoddirectives
issues:
exclude-rules:
- path: _test\.go
linters:
- lll
- gocognit
- cyclop
- wrapcheck
- maintidx
- dogsled
linters-settings:
varnamelen:
ignore-names:
- tt
ignore-decls:
- i int
- err error
- ok bool
- w http.ResponseWriter
- r *http.Request
- l net.Listener
- t reflect.Type
- wg sync.WaitGroup
- k *koanf.Koanf
- mu sync.Mutex
lll:
line-length: 160