-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
golangci-onlyFixed in wsl but not merged to golangci-lintFixed in wsl but not merged to golangci-lint
Description
Hello, recently updated to wsl_v5 via golangcilint (and it works really well!!!) and I'm encountering a few quirks with it where it wants to remove the whitespace in these examples, and then errors that there should be whitespace after I remove it:
ctx = log.Start(ctx)
ctx = log.SetLogLevel(ctx, log.LevelError)
ctx = log.SetLogMinStatus(ctx, errs.ErrSenderBadRequest.Status()) // wants to remove the following line/whitespace
if err := p.Close(ctx); err != nil {
return log.End(ctx, err)
}
an, ae := strconv.ParseUint(a[:ai], 10, 64)
bn, be := strconv.ParseUint(b[:bi], 10, 64) // wants to remove the following line/whitespace
if ae == nil && be == nil {
ctx = setStatus(ctx, e.Status())
ctx = setStack(ctx, strings.Join(e.Stack(), ", ")) // wants to remove the following line/whitespace
if e.Logged() {
log(ctx, LevelDebug, m)
return
}
Really enjoying the update though, I like the flexibility with the newer version.
Metadata
Metadata
Assignees
Labels
golangci-onlyFixed in wsl but not merged to golangci-lintFixed in wsl but not merged to golangci-lint