-
Notifications
You must be signed in to change notification settings - Fork 1
/
.golangci.yaml
31 lines (29 loc) · 1.04 KB
/
.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
issues:
max-issues-per-linter: 0
max-same-issues: 0
linters:
enable-all: true
disable:
- deadcode # deprecated
- depguard # Unneeded
- exhaustivestruct # too aggressive - authors intended its use only for special cases
- exhaustruct # too agressive - authors intended its use only for special cases
- ifshort # deprecated
- interfacer # deprecated
- golint # deprecated
- maligned # deprecated
- nlreturn # too aggressive, style
- nosnakecase # deprecated
- rowserrcheck # disabled - https://github.com/golangci/golangci-lint/issues/2649
- scopelint # deprecated
- sqlclosecheck # disabled - https://github.com/golangci/golangci-lint/issues/2649
- structcheck # deprecated
- tenv # cannot use t.Setenv in parallel tests
- wastedassign # disabled - https://github.com/golangci/golangci-lint/issues/2649
- wrapcheck # too agressive
- wsl # too aggressive, style
- varcheck # deprecated
- varnamelen # too aggressive, style
linters-settings:
cyclop:
max-complexity: 15