Check that no globals are present in Go code.
☆129Feb 15, 2026Updated 3 weeks ago
Alternatives and similar repositories for gochecknoglobals
Users that are interested in gochecknoglobals are comparing it to the libraries listed below
Sorting:
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 4 years ago
- Go linter for forbidding identifiers☆160Oct 25, 2025Updated 4 months ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated last month
- A linter to ensure that slices are not initialized with non-zero length☆79Oct 25, 2025Updated 4 months ago
- ☆55Oct 16, 2024Updated last year
- ☆121Dec 26, 2025Updated 2 months ago
- Find unused parameters in Go☆568Oct 27, 2025Updated 4 months ago
- Go linter to detect erroneous multiplication of duration values☆49Oct 24, 2025Updated 4 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 4 months ago
- ␊ whitespace linter - Forces you to use empty lines!☆345Updated this week
- noctx finds function calls without context.Context.☆219Feb 27, 2026Updated last week
- Golang linter to check the errors handling expressions☆67Sep 18, 2025Updated 5 months ago
- A Go linter to check that errors from external packages are wrapped☆360Nov 24, 2025Updated 3 months ago
- Golang linter that encourages you to use a separate _test package☆51Updated this week
- Accept Interfaces, Return Concrete Types☆80Feb 23, 2026Updated 2 weeks ago
- ☆43Dec 16, 2024Updated last year
- Linter that checks that comments end in a period☆48Oct 18, 2025Updated 4 months ago
- Analyzer: check whether a function uses a non-inherited context☆49Feb 28, 2025Updated last year
- Analyzer: checks whether err of sql.Rows is checked.☆18Oct 14, 2023Updated 2 years ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆324Jan 29, 2026Updated last month
- Go linter that checks if package imports are in a list of acceptable packages.☆197Mar 6, 2025Updated last year
- A linter that handle directives into `go.mod`.☆17Dec 4, 2025Updated 3 months ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated last month
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆82Mar 1, 2026Updated last week
- Golang linter to use strconv☆43Nov 19, 2025Updated 3 months ago
- golang linter to detect named returns☆29Feb 23, 2026Updated 2 weeks ago
- Checks for a new line before return and branch statements.☆27Apr 4, 2024Updated last year
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆451Feb 24, 2026Updated 2 weeks ago
- Find declarations in Go source code that shadow predeclared identifiers☆31Mar 31, 2025Updated 11 months ago
- Detect ineffectual assignments in Go code.☆455Aug 27, 2025Updated 6 months ago
- linter for copyright headers☆30Feb 10, 2026Updated last month
- A linter for logr,klog,zap that can also works with golangci-lint as a plugin☆17Apr 10, 2025Updated 10 months ago
- GCI, a tool that control golang package import order and make it always deterministic.☆553Feb 28, 2026Updated last week
- Detect deeply nested if statements in Go source code☆44Feb 26, 2026Updated last week
- Linter to detects the overuse or misuse of interfaces in Go code AKA "Interface Pollution"☆17Feb 26, 2026Updated last week
- linter to enforce consistent import aliases☆17Dec 26, 2024Updated last year
- Linter to check if your tests have been marked as parallel correctly☆61Oct 14, 2025Updated 4 months ago