{"id":50992,"library":"ssgreg-nlreturn-v2","title":"nlreturn","description":"A Go linter that enforces a newline before return statements to improve code readability.","status":"active","version":"2.2.1","language":"go","source_language":null,"source_url":"https://github.com/ssgreg/nlreturn","tags":["linter","code-style","readability"],"install":[{"cmd":"go get github.com/ssgreg/nlreturn/v2","lang":"bash","label":"Install github.com/ssgreg/nlreturn/v2"}],"dependencies":[],"imports":[{"symbol":"nlreturn","correct":"github.com/ssgreg/nlreturn/v2"}],"quickstart":{"code":"package main\n\nimport (\n    \"github.com/ssgreg/nlreturn/v2\"\n    \"golang.org/x/tools/go/analysis/singlechecker\"\n)\n\nfunc main() {\n    singlechecker.Main(nlreturn.NewAnalyzer())\n}","lang":"go","description":"Runs the nlreturn linter as a standalone tool."},"warnings":[],"env_vars":null,"search_vec":"'code':14,18 'code-styl':17 'enforc':6 'go':3 'improv':13 'linter':4,16 'newlin':8 'nlreturn':1 'readabl':15,20 'return':10 'statement':11 'style':19","created_at":"2026-06-15T05:16:41.095837+00:00","updated_at":"2026-06-15T05:16:41.095837+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ssgreg/nlreturn","github":"https://github.com/ssgreg/nlreturn","docs":"https://pkg.go.dev/github.com/ssgreg/nlreturn/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}