...
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: 3
14 min-occurrences: 3
15
16linters:
17 enable-all: true
18 disable:
19 - maligned
20 - lll
21 - gochecknoinits
22 - gochecknoglobals
23 - funlen
24 - godox
25 - gocognit
26 - whitespace
27 - wsl
28 - wrapcheck
29 - testpackage
30 - nlreturn
31 - gomnd
32 - exhaustivestruct
33 - goerr113
34 - errorlint
35 - nestif
36 - godot
37 - gofumpt
38 - paralleltest
39 - tparallel
40 - thelper
41 - ifshort
42 - exhaustruct
43 - varnamelen
44 - gci
45 - depguard
46 - errchkjson
47 - inamedparam
48 - nonamedreturns
49 - musttag
50 - ireturn
51 - forcetypeassert
52 - cyclop
53 # deprecated linters
54 - deadcode
55 - interfacer
56 - scopelint
57 - varcheck
58 - structcheck
59 - golint
60 - nosnakecase
View as plain text