File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
plugins/tools/revive/test Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 125125 "uri" : " bad.go"
126126 },
127127 "region" : {
128- "startColumn" : 10 ,
129- "startLine" : 9
128+ "startColumn" : 1 ,
129+ "startLine" : 7
130130 }
131131 }
132132 }
133133 ],
134134 "message" : {
135- "text" : " should omit type int from declaration of var foo; it will be inferred from the right-hand side "
135+ "text" : " comment on exported function BadFunction should be of the form \" BadFunction ... \" "
136136 },
137- "ruleId" : " var-declaration "
137+ "ruleId" : " exported "
138138 },
139139 {
140140 "locations" : [
145145 },
146146 "region" : {
147147 "startColumn" : 1 ,
148- "startLine" : 7
148+ "startLine" : 22
149149 }
150150 }
151151 }
152152 ],
153153 "message" : {
154- "text" : " comment on exported function BadFunction should be of the form \" BadFunction ...\" "
154+ "text" : " comment on exported function LongLine should be of the form \" LongLine ...\" "
155155 },
156156 "ruleId" : " exported"
157157 },
164164 },
165165 "region" : {
166166 "startColumn" : 1 ,
167- "startLine" : 22
167+ "startLine" : 27
168168 }
169169 }
170170 }
171171 ],
172172 "message" : {
173- "text" : " comment on exported function LongLine should be of the form \" LongLine ...\" "
173+ "text" : " comment on exported function NakedReturn should be of the form \" NakedReturn ...\" "
174174 },
175175 "ruleId" : " exported"
176176 },
182182 "uri" : " bad.go"
183183 },
184184 "region" : {
185- "startColumn" : 1 ,
186- "startLine" : 27
185+ "startColumn" : 10 ,
186+ "startLine" : 9
187187 }
188188 }
189189 }
190190 ],
191191 "message" : {
192- "text" : " comment on exported function NakedReturn should be of the form \" NakedReturn ... \" "
192+ "text" : " should omit type int from declaration of var foo; it will be inferred from the right-hand side "
193193 },
194- "ruleId" : " exported "
194+ "ruleId" : " var-declaration "
195195 },
196196 {
197197 "locations" : [
You can’t perform that action at this time.
0 commit comments