#5959th of 67 in Code review and testing

go-critic

Extensible Go linter with about 100 checks for bugs, performance and style

Releases and problems feed (RSS)

Stars
2.1k
License
MIT
Last commit
Sep 2026
Last release
Sep 2026
Language
Go
Stars, last 30 weeks+53
27 Apr 2026: 2,030 stars4 May 2026: 2,032 stars11 May 2026: 2,033 stars18 May 2026: 2,034 stars25 May 2026: 2,035 stars1 Jun 2026: 2,038 stars8 Jun 2026: 2,043 stars15 Jun 2026: 2,043 stars22 Jun 2026: 2,044 stars29 Jun 2026: 2,046 stars6 Jul 2026: 2,050 stars13 Jul 2026: 2,052 stars20 Jul 2026: 2,052 stars27 Jul 2026: 2,056 stars3 Aug 2026: 2,058 stars10 Aug 2026: 2,059 stars17 Aug 2026: 2,063 stars24 Aug 2026: 2,063 stars31 Aug 2026: 2,066 stars7 Sept 2026: 2,068 stars14 Sept 2026: 2,069 stars21 Sept 2026: 2,071 stars28 Sept 2026: 2,074 stars5 Oct 2026: 2,075 stars12 Oct 2026: 2,075 stars19 Oct 2026: 2,076 stars26 Oct 2026: 2,077 stars2 Nov 2026: 2,079 stars9 Nov 2026: 2,082 stars16 Nov 2026: 2,082 stars23 Nov 2026: 2,083 stars

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
Also in Code review and testing
RankProjectScore
#57gritqlQuery language for searching and rewriting source code with tree-sitter Live demo ↗ (opens in a new tab)4.6k starsMIT56 out of 100
#58apiautoBrowser-based HTTP API tester with generated docs, code and regression runs Live demo ↗ (opens in a new tab)2.2k starsApache-2.051 out of 100
#60ai-codereview-gitlabLLM reviewer for GitLab merge requests and pushes, with chat notifications1.9k starsApache-2.046 out of 100
#61chatgpt-codereviewGitHub bot and Action that reviews pull request diffs with an LLM Live demo ↗ (opens in a new tab)4.5k starsISC44 out of 100
#62skillgradeEval harness that scores AI coding agents on defined tasks737 starsMIT43 out of 100