mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-30 16:10:41 -04:00
Update WSL to v1.2.5 (#811)
* Update WSL to v1.2.4 * Fix false positive multiline case * Fix false positive slice expression * Fix false positive index expression * Support to configure/allow cuddle declarations * Support to configurre/allow case blocks to end with whitespace * Support cuddle defer http body close * Re-generate README.md * Update WSL to v1.2.5 * Support output comments for example functions * Fix bad field tag for config
This commit is contained in:
parent
d47b6f5e48
commit
22df2d739f
10 changed files with 184 additions and 40 deletions
test
|
@ -105,6 +105,7 @@ func testOneSource(t *testing.T, sourcePath string) {
|
|||
"--print-issued-lines=false",
|
||||
"--print-linter-name=false",
|
||||
"--out-format=line-number",
|
||||
"--max-same-issues=10",
|
||||
}
|
||||
|
||||
rc := extractRunContextFromComments(t, sourcePath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue