#5959th of 67 in Code review and testing
go-critic
Extensible Go linter with about 100 checks for bugs, performance and style
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 2.1k
- License
- MIT
- Last commit
- Sep 2026
- Last release
- Sep 2026
- Language
- Go
2,030 on 27 Apr 20262,083 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
go-critic is a Go static analysis tool that runs diagnostics for bugs, performance and style issues, covering checks missing from other linters. Checks are selected by name or by tag such as #diagnostic, #style and #performance, and extra rules can be added without recompiling through dynamic rules. It runs standalone as a CLI or under golangci-lint.
Who it is for: Go developers adding lint checks to local workflows or CI
Strengths
- Almost 100 checkers grouped into diagnostic, performance and style tags
- Dynamic rules add custom checks without recompiling the linter
- `go-critic doc <checkname>` prints a description and parameters for each checker
- Runs standalone or inside golangci-lint; binaries, Homebrew and MacPorts available
Weaknesses
- Go only; no support for other languages
- Experimental and opinionated checks are disabled by default and need explicit flags
- The #security tag is empty and fails if enabled
- Rule-based static checks only; no AI-assisted review
What it needs
- no GPU
- Needs Go toolchain
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Code review and testing
See all 67| Rank | Project | Score |
|---|---|---|
| #57 | gritqlQuery language for searching and rewriting source code with tree-sitter | 56 out of 100 |
| #58 | apiautoBrowser-based HTTP API tester with generated docs, code and regression runs | 51 out of 100 |
| #60 | ai-codereview-gitlabLLM reviewer for GitLab merge requests and pushes, with chat notifications | 46 out of 100 |
| #61 | chatgpt-codereviewGitHub bot and Action that reviews pull request diffs with an LLM | 44 out of 100 |
| #62 | skillgradeEval harness that scores AI coding agents on defined tasks | 43 out of 100 |