File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
pkg/golinters/wsl/testdata Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ package testdata
4
4
5
5
func fn1 (s []string ) {
6
6
a := "a"
7
- s = append (s , a )
7
+ s = append (s , a ) // want `missing whitespace above this line \(invalid statement above assign\)`
8
8
9
9
x := 1
10
- s = append (s , "s" ) // want `missing whitespace above this line \(no shared variables above append \)`
10
+ s = append (s , "s" ) // want `missing whitespace above this line \(invalid statement above assign \)`
11
11
12
12
_ = x
13
13
}
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ version: "2"
2
2
3
3
linters :
4
4
settings :
5
- wsl_v5 :
6
- allow-first-in-block : true
7
- allow-whole-block : false
8
- branch-max-lines : 2
9
- case-max-lines : 0
10
- default : all
5
+ wsl_v5 :
6
+ allow-first-in-block : true
7
+ allow-whole-block : false
8
+ branch-max-lines : 2
9
+ case-max-lines : 0
10
+ default : all
You can’t perform that action at this time.
0 commit comments