alexkohler / nakedretView external linksLinks
nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.
☆132Feb 1, 2026Updated 2 weeks ago
Alternatives and similar repositories for nakedret
Users that are interested in nakedret are comparing it to the libraries listed below
Sorting:
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆662Updated this week
- Go linter to detect erroneous multiplication of duration values☆49Oct 24, 2025Updated 3 months ago
- Detect ineffectual assignments in Go code.☆451Aug 27, 2025Updated 5 months ago
- Find unused parameters in Go☆568Oct 27, 2025Updated 3 months ago
- identypo is a Go static analysis tool to find typos in identifiers (functions, function calls, variables, constants, type declarations, p…☆29Sep 15, 2018Updated 7 years ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Jan 29, 2026Updated 2 weeks ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- 🚔 Enforce field tags in (un)marshaled structs☆39Jan 19, 2026Updated 3 weeks ago
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 4 years ago
- ☆121Dec 26, 2025Updated last month
- Go linter for forbidding identifiers☆160Oct 25, 2025Updated 3 months ago
- dogsled is a Go static analysis tool to find assignments/declarations with too many blank identifiers.☆73Mar 29, 2024Updated last year
- Check that no globals are present in Go code.☆128May 24, 2025Updated 8 months ago
- unimport is a Go static analysis tool to find unnecessary import aliases.☆70Nov 6, 2017Updated 8 years ago
- Remove unnecessary type conversions from Go source☆388Feb 16, 2025Updated last year
- intrange is a program for checking for loops that could use the Go 1.22 integer range feature.☆36Oct 30, 2025Updated 3 months ago
- Go linter that checks if package imports are in a list of acceptable packages.☆194Mar 6, 2025Updated 11 months ago
- Find in Go repeated strings that could be replaced by a constant☆314May 22, 2025Updated 8 months ago
- ☆43Dec 16, 2024Updated last year
- A linter to ensure that slices are not initialized with non-zero length☆79Oct 25, 2025Updated 3 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆437Dec 9, 2024Updated last year
- noctx finds function calls without context.Context.☆216Jul 28, 2025Updated 6 months ago
- Linter that confirms DB rows and statements are closed properly.☆91May 19, 2025Updated 8 months ago
- Report code that is unnecessarily indented☆18Aug 29, 2017Updated 8 years ago
- A Go linter to check that errors from external packages are wrapped☆358Nov 24, 2025Updated 2 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated 3 months ago
- ☆21Jan 16, 2026Updated last month
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆81Feb 1, 2026Updated 2 weeks ago
- golang linter to detect named returns☆29Feb 10, 2026Updated last week
- Checks for a new line before return and branch statements.☆27Apr 4, 2024Updated last year
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆26Feb 1, 2026Updated 2 weeks ago
- Tool to detect range statements iterating over addressable arrays☆28Dec 6, 2017Updated 8 years ago
- Find declarations in Go source code that shadow predeclared identifiers☆31Mar 31, 2025Updated 10 months ago
- linter for copyright headers☆30Feb 10, 2026Updated last week
- Deduplicate named and unnamed imports of the same import path in Go files☆19May 18, 2020Updated 5 years ago
- nargs is a Go static analysis tool to find unused arguments in function declarations.☆86May 15, 2025Updated 9 months ago
- Visualize Go SSA function using Graphviz☆49May 30, 2025Updated 8 months ago
- Line length linter☆70Jun 4, 2022Updated 3 years ago