./devel/revive, Linter for Go

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.4nb17, Package name: go-revive-1.2.4nb17, Maintainer: pkgsrc-users

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.

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.


Master sites:

Filesize: 684.855 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-05 21:14:14 by Benny Siegert | Files touched by this commit (161) | Package updated
Log message:
Revbump all Go packages after go121 update
   2024-02-07 15:51:04 by Benny Siegert | Files touched by this commit (156) | Package updated
Log message:
Revbump all Go packages after go121 update
   2024-01-10 20:14:43 by Benny Siegert | Files touched by this commit (152) | Package updated
Log message:
Revbump all Go packages after go121 update
   2023-12-05 20:46:19 by Benny Siegert | Files touched by this commit (146) | Package updated
Log message:
Revbump all Go packages after go121 update
   2023-11-10 16:45:25 by Benny Siegert | Files touched by this commit (152) | Package updated
Log message:
Revbump all Go packages after go121 update
   2023-10-29 15:48:24 by Benny Siegert | Files touched by this commit (152)
Log message:
Revbump all Go packages because go121 is now the default
   2023-10-15 14:04:35 by Benny Siegert | Files touched by this commit (155) | Package updated
Log message:
Revbump all Go packages after go120 security update
   2023-09-08 21:06:15 by Benny Siegert | Files touched by this commit (154) | Package updated
Log message:
Revbump all Go packages after go120 update