BSD Ports

devel/revive 1.2.4nb41 NetBSD

Linter for Go

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
309977eb40
License
mit
Categories
devel
Package size
5536.9 KiB, 11334.2 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/revive1.2.4nb41
FreeBSDdevel/revive1.12.0_13
DragonFlydevel/revive1.5.1_2
HardenedBSDdevel/revive1.12.0_11
GhostBSDdevel/revive1.12.0_11

Install

Binary package:

pkgin install go-revive

From pkgsrc:

cd /usr/pkgsrc/devel/revive && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.2.4nb41
NetBSD 10.1 aarch641.2.4nb37
SmartOS / illumos x86_641.2.4nb43
macOS 15 arm641.2.4nb42

Dependencies

No port depends on this one.

Commit history 7

DateCommitCreditsLog message
309977eb40 bsiegert Revbump all Go packages after go127 security update
96dc94755d bsiegert Revbump all Go packages after go127 security update
866d2b73e9 bsiegert Revbump all Go packages after go127 update
2338e838cd bsiegert Revbump all Go packages after go127 became the default
a4724da6b2 bsiegert Revbump all Go packages after go126 update

The latest 5 of 7 in the history this site was built from.