All apps/golangci-lint

golangci-lint

golangci-lint

Fast linters runner for Go.

Runs as golangci-lint|macOS, Linux, Windows|golangci-lint.run

Command form

ai-draft · 2 tasks · 12 fields

Lint Go code with golangci-lint run. Output format flags, formatters and cache commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui golangci-lint

golangci-lint run

Lint the code

Run linters over Go packages. Pass --fix to apply automatic fixes in place.

Lint the codeExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages
./...string
Config file
file
Enable linters
string
Disable linters
string
Advanced
Timeout
string
TasksEach one presets the form for one job
Lint everything
packagesconfigenabledisabletimeout
Only new issues
packagesnewnew_from_revconfig
ParametersOnly these flags are editable in the form
Packages
Package patterns to lint.
string · positional 0 · repeatable
./...
Config file
path
--config-c
Ignore config file
boolean
--no-config
Enable linters
string · repeatable
--enable-E
Disable linters
string · repeatable
--disable-D
Only these linters
string · repeatable
--enable-only
Fast linters only
boolean
--fast-only
Only new issues
boolean
--new-n
New since revision
string
--new-from-rev
Apply fixes
Rewrites source files in place.
boolean
--fix
Timeout
string
--timeout5m
Build tags
string
--build-tags
SourcesEvery flag above is checked against these
help
-c, --config PATH Read config from file path PATH --no-config Don't read config file --default string Default set of linters to enable (default "standard") -D, --disable strings Disable specific linter -E, --enable strings Enable specific l…
helpmain 2026-10-27

github.com

Before it fills your prompt, Otty checks the installed golangci-lint against its version. A form that does not match your version is not offered.