standardgo

command
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Command standardgo lints a Go project with the locked amberpixels ruleset.

The golangci-lint engine is compiled into this binary rather than shelled out to, so the engine version and the ruleset version are pinned together by a single line in the consuming project's go.mod. There is nothing to install on the machine and nothing for CI to drift away from.

go tool standardgo            # lint
go tool standardgo fmt        # format
go tool standardgo ./... --fix

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL