File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ import "fmt"
7
7
func nolintlint () {
8
8
fmt .Println () // nolint:bob // leading space should be dropped
9
9
fmt .Println () // nolint:bob // leading spaces should be dropped
10
+
10
11
// note that the next lines will retain trailing whitespace when fixed
11
12
fmt .Println () //nolint // nolint should be dropped
12
13
fmt .Println () //nolint:lll // nolint should be dropped
14
+
15
+ fmt .Println () //nolint:alice,lll // we don't drop individual linters from lists
13
16
}
Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ import "fmt"
7
7
func nolintlint () {
8
8
fmt .Println () //nolint:bob // leading space should be dropped
9
9
fmt .Println () //nolint:bob // leading spaces should be dropped
10
+
10
11
// note that the next lines will retain trailing whitespace when fixed
11
12
fmt .Println ()
12
13
fmt .Println ()
14
+
15
+ fmt .Println () //nolint:alice,lll // we don't drop individual linters from lists
13
16
}
You can’t perform that action at this time.
0 commit comments