File tree Expand file tree Collapse file tree 1 file changed +23
-42
lines changed Expand file tree Collapse file tree 1 file changed +23
-42
lines changed Original file line number Diff line number Diff line change 1
1
run :
2
- concurrency : 4
2
+ concurrency : 12
3
3
deadline : 5m
4
4
issues-exit-code : 1
5
5
tests : true
6
+ # skip-dirs:
6
7
skip-files :
7
8
- " .*\\ .pb\\ .go"
8
- - " .*\\ .gen\\ .go"
9
+ - " .*(.|_)gen\\ .go"
10
+ modules-download-mode : vendor
9
11
10
12
linters-settings :
11
13
depguard :
12
14
list-type : blacklist
13
15
include-go-root : false
14
16
packages :
15
17
- github.com/davecgh/go-spew/spew
16
- dupl :
17
- threshold : 100
18
18
errcheck :
19
19
check-type-assertions : true
20
20
check-blank : true
21
21
# exclude: .errcheckignore
22
22
goconst :
23
23
min-len : 3
24
24
min-occurrences : 3
25
- gocyclo :
26
- min-complexity : 10
27
25
gofmt :
28
26
simplify : true
29
27
goimports :
30
- # local-prefixes: github.com/
28
+ local-prefixes : github.com/go-language-server/jsonrpc2 /
31
29
golint :
32
30
min-confidence : 0.3
33
31
govet :
34
32
check-shadowing : false
35
- maligned :
36
- suggest-new : true
33
+ gocritic :
34
+ enabled-tags :
35
+ - diagnostic
36
+ - style
37
+ - performance
38
+ - experimental
39
+ settings :
40
+ captLocal :
41
+ paramsOnly : true
42
+ rangeValCopy :
43
+ sizeThreshold : 32
37
44
misspell :
38
45
locale : US
39
46
nakedret :
40
47
max-func-lines : 30
41
48
prealloc :
42
49
simple : true
43
- range-loops : true # Report preallocation suggestions on range loops, true by default
44
- for-loops : false # Report preallocation suggestions on for loops, false by default
50
+ range-loops : true
51
+ for-loops : false
45
52
unparam :
46
53
algo : cha
47
- check-exported : false
54
+ check-exported : true
48
55
unused :
49
- check-exported : false
56
+ check-exported : true
50
57
51
58
linters :
52
59
enable :
53
- - deadcode
54
- - depguard
55
- - errcheck
56
- - goconst
57
- - gocritic
58
- - gofmt
59
- - goimports
60
- - golint
61
- - gosimple
62
- - govet
63
- - ineffassign
64
- - interfacer
65
- - maligned
66
- - misspell
67
- - nakedret
68
- - prealloc
69
- - scopelint
70
- - staticcheck
71
- - structcheck
72
- - unconvert
73
- - unparam
74
- - unused
75
- - varcheck
76
- enable-all : false
60
+ enable-all : true
77
61
disable :
78
62
- dupl
79
63
- gochecknoglobals
80
64
- gochecknoinits
81
65
- gocyclo
82
66
- gosec
83
67
- lll
68
+ - maligned
84
69
- megacheck
85
70
- typecheck
86
- disable-all : false
87
- presets :
88
- - bugs
89
- - unused
90
- fast : false
71
+ fast : true
91
72
92
73
issues :
93
74
exclude-use-default : false
You can’t perform that action at this time.
0 commit comments