About Revive
Revive is a linter for Go that serves as a drop-in replacement for golint. It provides a framework for writing custom rules, and it lets teams define a strict preset to strengthen development and code review processes. Output is designed to be readable and the tool is intended to run in CI.
Compared with golint, the README notes that rules can be enabled or disabled through a configuration file, and that rules can be configured with a TOML file. A specific rule or the entire linter can be disabled for a file or a range of lines, whereas golint only allowed this for generated files. Type checking is optional because most golint rules do not need it, and the project reports faster runs on the same rules.
Revive is written in Go and licensed under MIT. It runs on developer machines or in pipelines and has no hosted version. It suits Go teams that want an opinionated but configurable style and static analysis tool.
Key features
- Drop-in replacement for golint
- TOML-based rule configuration
- Framework for custom lint rules
- Per-file and per-line rule disabling
- Optional type checking
- Strict presets for code review
Good fit for
- Enforcing Go style in CI
- Custom lint rules for team conventions
Revive: questions and answers
- What is Revive used for?
- Revive is a fast, configurable and extensible linter for Go, designed as a drop-in replacement for golint with custom rules and TOML configuration. It is a good fit for enforcing Go style in CI and custom lint rules for team conventions.
- Is Revive open source?
- Yes. Revive is open source under the MIT licence. Its source code is on GitHub at revive-lint/revive and is written mainly in Go.
- Is Revive free?
- Yes. Revive is open source, so the software itself is free to use.
- What is Revive an alternative to?
- Revive is an open-source alternative to DeepSource. Other open-source alternatives to DeepSource include SonarQube, Semgrep and ESLint.
- Is Revive actively maintained?
- Yes. The most recent commit to Revive was on 12 November 2026, and the latest release is v1.17.1, published on 7 October 2026. The project has 5.6k stars on GitHub, with 16 added in the last 30 days.
Open-source alternatives to Revive
See all
SonarQube
Developer Tools
Continuous Inspection
LGPL-3.0vs Codacy★ 11k
Semgrep
Security
Lightweight static analysis for many languages. Find bug variants with patterns that look
LGPL-2.1vs Snyk★ 18k
ESLint
Open source
Find and fix problems in your JavaScript code.
MITvs SonarQube Cloud★ 28k
Gitleaks
Security
Find secrets with Gitleaks 🔑
MITvs GitGuardian★ 31k
Trivy
Security
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code rep
Apache-2.0vs Snyk★ 39k
golangci-lint
Developer Tools
Fast linters runner for Go
GPL-3.0vs SonarQube Cloud★ 20k
SaaS alternatives to Revive
See all
DeepSource
Developer Tools
Static analysis and code health platform with auto-fix suggestions
SaaS
act101
Developer Tools
Codebase quality and refactoring toolkit for coding agents, with code porting and verification
SaaS
Codacy
Developer Tools
Automated code quality and security analysis for pull requests
SaaS
Debtdrone
Developer Tools
Scans codebases for technical debt and opens AI-generated pull requests to fix it
SaaS
SonarQube Cloud
Developer Tools
Hosted code quality and security analysis for pull requests, from Sonar
SaaS
VibeFix
Developer Tools
Scans a URL for patterns left by AI coding tools, scores code quality and generates a fix roadmap with patches
SaaS

