{"repo":"mgechev/revive","free":true,"listed":false,"github":"https://github.com/mgechev/revive","clone":"git clone https://github.com/mgechev/revive.git","description":"🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint","language":"Go","stars":5540,"topics":["go","golang","linter","static-analysis","golint","static-code-analysis","hacktoberfest"],"license":"MIT","category":"dev-tools","readme_excerpt":"revive Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. Revive provides a framework for development of custom rules, and lets you define a strict preset for enhancing your development & code review processes . Logo by Georgi Serev Here's how revive is different from golint : - Allows to enable or disable rules using a configuration file. - Allows to configure the linting rules with a TOML file. - 2x faster running the same rules as golint. - Provides functionality for disabling a specific rule or the entire linter for a file or a range of lines. - golint allows this only for generated files. - Optional type checking. Most rules in golint do not require type checking. If you disable them in the config file, revive will run over 6x faster than golint. - Provides multiple formatters which let us customize the output. - Allows to customize the return code for the entire linter or based on the failure of only some rules. - Everyone can extend it easily with custom rules or formatters. - Revive provides more rules compared to golint . - Installation - Homebrew - Install from Sources - Docker - Manual Binary Download - Usage - Text Editors - GitHub Actions - Continuous Integration - Linter aggregators - golangci-lint - MegaLinter - Command Line Flags - Sample Invocations - Comment Directives - Configuration - Custom Configuration - Recommended Configuration - Rule-level file excludes - Available Rules - Configurable rules - Availa","default_branch":null,"files":null,"tree":[],"storefront":"/r/mgechev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mgechev/revive/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}