devel/go-critic 0.15.0_2 FreeBSD
Opinionated Go source code linter for code audit
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- MIT
- Categories
- devel
- Package size
- 5622.1 KiB, 17836.8 KiB installed
Description
Highly extensible Go source code linter providing checks currently missing from other linters. Features:
- Almost 100 diagnostics that check for bugs, performance and style issues
- Extensible without re-compilation with dynamic rules
- Includes #opinionated checks with very strict and specific requirements
- Self-documented: gocritic doc <checkname> gives a checker description
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/go-critic | 0.15.0_2 |
| HardenedBSD | devel/go-critic | 0.15.0 |
| GhostBSD | devel/go-critic | 0.15.0 |
Install
Binary package:
pkg install go-critic
From the ports tree:
cd /usr/ports/devel/go-critic/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= go-critic>0:devel/go-critic
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.15.0_1 | 0.15.0_1 | - | - | 0.15.0_1 |
| FreeBSD:14:quarterly | 0.15.0_1 | 0.15.0_1 | n/a | - | 0.15.0_1 |
| FreeBSD:15:latest | 0.15.0_1 | 0.15.0_1 | n/a | - | - |
| FreeBSD:15:quarterly | 0.15.0_1 | 0.15.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.15.0 | 0.15.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- go:modules
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| go/devel_go-critic/go-critic-v0.15.0/v0.15.0.mod | 924 | e75fa636792a735bd7626d58621a2477f4e833aa744a37f5e89cdc851cb6f0cf |
| go/devel_go-critic/go-critic-v0.15.0/v0.15.0.zip | 342236 | b7c95bffdc0487294ac97c888ea0e1c04a2e482caa34d1970d006909f677be7d |
Commit history 8
The latest 5 of 8 in the history this site was built from.