Registry / utility / ssgreg-nlreturn-v2

ssgreg-nlreturn-v2

JSON →
library2.2.1gogounverified

A Go linter that enforces a newline before return statements to improve code readability.

go get github.com/ssgreg/nlreturn/v2
INSTALL
IMPORT
SIG · SSGREG-NLRETURN-V2
S
ssgreg-nlreturn-v2
utilitygov2.2.1
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.

nlreturn
✓ github.com/ssgreg/nlreturn/v2

Runs the nlreturn linter as a standalone tool.

package main import ( "github.com/ssgreg/nlreturn/v2" "golang.org/x/tools/go/analysis/singlechecker" ) func main() { singlechecker.Main(nlreturn.NewAnalyzer()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
ssgreg-nlreturn-v2 — go get ssgreg-nlreturn-v2 · libregistry