File tree Expand file tree Collapse file tree 1 file changed +125
-0
lines changed Expand file tree Collapse file tree 1 file changed +125
-0
lines changed Original file line number Diff line number Diff line change
1
+ run :
2
+ timeout : 3m
3
+
4
+ issues :
5
+ exclude-rules :
6
+ - linters :
7
+ - exhaustivestruct
8
+ - errcheck
9
+ - dupl
10
+ - noctx
11
+ - goerr113
12
+ path : _test\.go$
13
+ - linters :
14
+ - gochecknoglobals
15
+ text : Done is a global variable
16
+ path : iterator.go
17
+
18
+ linters-settings :
19
+ gocyclo :
20
+ min-complexity : 15
21
+ gocritic :
22
+ enabled-checks :
23
+ - appendCombine
24
+ - argOrder
25
+ - assignOp
26
+ - badCall
27
+ - badCond
28
+ - boolExprSimplify
29
+ - builtinShadow
30
+ - captLocal
31
+ - caseOrder
32
+ - codegenComment
33
+ - commentedOutCode
34
+ - commentedOutImport
35
+ - defaultCaseOrder
36
+ - deprecatedComment
37
+ - docStub
38
+ - dupArg
39
+ - dupBranchBody
40
+ - dupCase
41
+ - dupImport
42
+ - dupSubExpr
43
+ - elseif
44
+ - emptyFallthrough
45
+ - emptyStringTest
46
+ - equalFold
47
+ - flagDeref
48
+ - flagName
49
+ - hexLiteral
50
+ - hugeParam
51
+ - importShadow
52
+ - indexAlloc
53
+ - initClause
54
+ - methodExprCall
55
+ - nestingReduce
56
+ - newDeref
57
+ - nilValReturn
58
+ - octalLiteral
59
+ - offBy1
60
+ - paramTypeCombine
61
+ - ptrToRefParam
62
+ - rangeExprCopy
63
+ - rangeValCopy
64
+ - regexpMust
65
+ - sloppyLen
66
+ - sloppyReassign
67
+ - stringXbytes
68
+ - switchTrue
69
+ - typeAssertChain
70
+ - typeSwitchVar
71
+ - typeUnparen
72
+ - underef
73
+ - unnecessaryBlock
74
+ - unslice
75
+ - valSwap
76
+ - weakCond
77
+ - wrapperFunc
78
+ gci :
79
+ local-prefixes : github.com/go-oss/scheduler
80
+ exhaustive :
81
+ default-signifies-exhaustive : true
82
+ exhaustivestruct :
83
+ struct-patterns :
84
+ - " github.com/go-oss/scheduler/*"
85
+
86
+ linters :
87
+ disable-all : true
88
+ enable :
89
+ - bodyclose
90
+ - deadcode
91
+ - errcheck
92
+ - errorlint
93
+ - exportloopref
94
+ - gochecknoglobals
95
+ - goconst
96
+ - gocritic
97
+ - gocyclo
98
+ - goerr113
99
+ - goimports
100
+ - gci
101
+ - gosimple
102
+ - govet
103
+ - ineffassign
104
+ - misspell
105
+ - noctx
106
+ - staticcheck
107
+ - structcheck
108
+ - typecheck
109
+ - unconvert
110
+ - unparam
111
+ - unused
112
+ - varcheck
113
+ - nolintlint
114
+ - wrapcheck
115
+ - tparallel
116
+ - stylecheck
117
+ - prealloc
118
+ - exhaustive
119
+ - exhaustivestruct
120
+ - dogsled
121
+ - dupl
122
+ - gocognit
123
+ - gosec
124
+ - nestif
125
+ - nakedret
You can’t perform that action at this time.
0 commit comments