...
1linters-settings:
2 govet:
3 check-shadowing: true
4 golint:
5 min-confidence: 0
6 gocyclo:
7 min-complexity: 45
8 maligned:
9 suggest-new: true
10 dupl:
11 threshold: 200
12 goconst:
13 min-len: 2
14 min-occurrences: 3
15
16linters:
17 enable-all: true
18 disable:
19 - maligned
20 - unparam
21 - lll
22 - gochecknoinits
23 - gochecknoglobals
24 - funlen
25 - godox
26 - gocognit
27 - whitespace
28 - wsl
29 - wrapcheck
30 - testpackage
31 - nlreturn
32 - gomnd
33 - exhaustivestruct
34 - goerr113
35 - errorlint
36 - nestif
37 - godot
38 - gofumpt
39 - paralleltest
40 - tparallel
41 - thelper
42 - ifshort
43 - exhaustruct
44 - varnamelen
45 - gci
46 - depguard
47 - errchkjson
48 - inamedparam
49 - nonamedreturns
50 - musttag
51 - ireturn
52 - forcetypeassert
53 - cyclop
54 # deprecated linters
55 - deadcode
56 - interfacer
57 - scopelint
58 - varcheck
59 - structcheck
60 - golint
61 - nosnakecase
View as plain text