leighmcculloch / gochecknoglobalsView external linksLinks
Check that no globals are present in Go code.
☆128May 24, 2025Updated 8 months 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 3 months 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
- A linter to ensure that slices are not initialized with non-zero length☆79Oct 25, 2025Updated 3 months ago
- ☆55Oct 16, 2024Updated last year
- ☆121Dec 26, 2025Updated last month
- Find unused parameters in Go☆568Oct 27, 2025Updated 3 months ago
- Go linter to detect erroneous multiplication of duration values☆49Oct 24, 2025Updated 3 months ago
- noctx finds function calls without context.Context.☆216Jul 28, 2025Updated 6 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated 3 months ago
- ␊ whitespace linter - Forces you to use empty lines!☆342Updated this week
- Golang linter to check the errors handling expressions☆67Sep 18, 2025Updated 4 months ago
- A Go linter to check that errors from external packages are wrapped☆358Nov 24, 2025Updated 2 months ago
- Golang linter that encourages you to use a separate _test package☆51Updated this week
- Accept Interfaces, Return Concrete Types☆79Dec 15, 2025Updated 2 months ago
- Linter that checks that comments end in a period☆48Oct 18, 2025Updated 4 months ago
- ☆43Dec 16, 2024Updated last year
- Analyzer: check whether a function uses a non-inherited context☆49Feb 28, 2025Updated 11 months ago
- 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.☆323Jan 29, 2026Updated 2 weeks ago
- Go linter that checks if package imports are in a list of acceptable packages.☆194Mar 6, 2025Updated 11 months ago
- A linter that handle directives into `go.mod`.☆16Dec 4, 2025Updated 2 months ago
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆81Feb 1, 2026Updated 2 weeks ago
- 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
- Golang linter to use strconv☆43Nov 19, 2025Updated 2 months ago
- Checks for a new line before return and branch statements.☆27Apr 4, 2024Updated last year
- golang linter to detect named returns☆29Feb 10, 2026Updated last week
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆437Dec 9, 2024Updated last year
- Find declarations in Go source code that shadow predeclared identifiers☆31Mar 31, 2025Updated 10 months ago
- Detect ineffectual assignments in Go code.☆452Aug 27, 2025Updated 5 months ago
- linter for copyright headers☆30Feb 10, 2026Updated last week
- 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.☆547Feb 6, 2026Updated last week
- Detect deeply nested if statements in Go source code☆44Oct 31, 2021Updated 4 years ago
- Linter to detects the overuse or misuse of interfaces in Go code AKA "Interface Pollution"☆17Jul 11, 2025Updated 7 months ago
- linter to enforce consistent import aliases☆17Dec 26, 2024Updated last year
- Go linter for checking that your code uses short syntax for if-statements whenever possible.☆18Jul 31, 2022Updated 3 years ago