You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added nilness linter - #13146
it doesn't do alingse's nilnesserr; should we wait for alingse to add it to golanci-lint? Same option is not present. @AskAlexSharov
it doesn't do alingse's nilnesserr; should we wait for alingse to add it to golanci-lint? Same option is not present.
sorry, i don't understand the sentence
I mean to catch the issue like https://github.com/erigontech/erigon/pull/13120/files, we need the new nilnesserr linter, which is still in development and not added to golangci-lint. The author said it'll be added once testing is done.
Meanwhile, I added the nilness linter in this PR. It catches redundant patterns like if err != nil where err is always nil or err. But doesn't catch more advanced errors like nilnesserr.
rules.go
match forBeginTemporalRo
(andrw
).The text was updated successfully, but these errors were encountered: