...
1linters-settings:
2 goconst:
3 min-len: 5
4 min-occurrences: 10
5 lll:
6 line-length: 100
7 maintidx:
8 under: 35
9
10issues:
11 exclude-use-default: false
12 exclude-rules:
13 - text: 'result .* is always'
14 linters: [unparam]
15 - text: 'always receives'
16 linters: [unparam]
17 - path: _test\.go
18 linters: [errcheck, staticcheck, lll, maintidx]
19 - path: internal/difflib/difflib\.go
20 text: .
21 - text: 'return value of .*Close` is not checked'
22 linters: [errcheck]
23 - text: 'SA1019'
24 linters: [staticcheck]
25 - path: internal/
26 text: 'ST1000'
27 linters: [stylecheck]
28 - path: 'example_test\.go'
29 linters: [bodyclose]
30
31linters:
32 disable-all: true
33 enable:
34 - bodyclose
35 - dogsled
36 - errcheck
37 - errorlint
38 - exportloopref
39 - gocognit
40 - goconst
41 - gofmt
42 - goimports
43 - gosimple
44 - govet
45 - ineffassign
46 - lll
47 - maintidx
48 - misspell
49 - nakedret
50 - nestif
51 - nilerr
52 - nilnil
53 - nolintlint
54 - prealloc
55 - revive
56 - staticcheck
57 - stylecheck
58 - typecheck
59 - unconvert
60 - unparam
61 - unused
62 - wastedassign
63 - whitespace
View as plain text