Skip to content

Commit 34c8dc0

Browse files
committed
review: revert
1 parent 8ac9348 commit 34c8dc0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

pkg/result/processors/testdata/nolint.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,23 @@ func nolintFuncByPrecedingComment() *string {
2222
return &xv
2323
}
2424

25-
// second line
26-
//
2725
//nolint:all
26+
// second line
2827
func nolintFuncByPrecedingMultilineComment1() *string {
2928
xv := "v"
3029
return &xv
3130
}
3231

3332
// first line
34-
//
3533
//nolint:all
3634
func nolintFuncByPrecedingMultilineComment2() *string {
3735
xv := "v"
3836
return &xv
3937
}
4038

4139
// first line
42-
// third line
43-
//
4440
//nolint:all
41+
// third line
4542
func nolintFuncByPrecedingMultilineComment3() *string {
4643
xv := "v"
4744
return &xv
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package testdata
22

33
func bar() {
4-
_ = 0 //nolint: foobar
4+
_ = 0 //nolint: foobar
55
}

0 commit comments

Comments
 (0)