# mgechev/revive

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint

Repository: https://github.com/mgechev/revive
Canonical: https://ross.abutalabs.com/products/revive
Homepage: https://revive.run
Language: Go
License: MIT
License Family: permissive
Topics: go, golang, linter, static-analysis, golint, static-code-analysis, hacktoberfest
Last push: 2026-08-26T16:30:01+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 3347, "days_push": 7, "days_rel": 12, "gap_med": 44.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5547, forks 326 (observed 2026-08-28T04:09:22.282328+00:00)

## What it is
Revive is a fast, configurable, and extensible linter for Go, serving as a drop-in replacement for golint. It supports TOML-based rule configuration, custom rules and formatters, and runs significantly faster than golint.

## Use cases
- lint go code
- replace golint with a faster alternative
- enforce custom style rules in go projects
- configure linting rules with a toml file
- run static code analysis in ci
- write custom lint rules for go

## When to choose
- you want a drop-in golint replacement with more rules and better performance
- you need configurable, extensible linting for go projects
- you want to integrate linting into CI pipelines or editors

## When to avoid
- you need a linter for a language other than Go
- you prefer an all-in-one aggregator like golangci-lint managing multiple linters

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, static-site-generator, developer-tools, code-review, cli
- domain: developer-tools, programming-languages, testing
- platform: go, cli, cross-platform
- tags: golang, static-analysis, golint-replacement, code-quality, custom-rules, toml-config, ci-cd, command-line, docker

## Member repositories
- mgechev/revive (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.282328+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:40.738312+00:00, confidence not recorded.
  - readme: https://github.com/mgechev/revive (fetched 2026-08-28T04:09:22.282328+00:00, sha e98274339c26)
  - homepage: https://revive.run (fetched 2026-08-29T08:50:56.658630+00:00, sha 8bce6c61d877)
  - site_page: https://revive.run/docs (fetched 2026-08-29T08:50:56.667604+00:00, sha aad67ffd388b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
