Registry / utility / gostaticanalysis-nilerr

gostaticanalysis-nilerr

JSON →
library0.1.2gogounverified

A Go linter that detects returning nil errors when a non-nil error is expected.

go get github.com/gostaticanalysis/nilerr
INSTALL
IMPORT
SIG · GOSTATICANALYSIS-N
G
gostaticanalysis-nilerr
utilitygov0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nilerr
github.com/gostaticanalysis/nilerr

Run the nilerr linter as a standalone tool.

package main import ( "github.com/gostaticanalysis/nilerr" "golang.org/x/tools/go/analysis/singlechecker" ) func main() { singlechecker.Main(nilerr.Analyzer) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gostaticanalysis-nilerr — go get gostaticanalysis-nilerr · libregistry