ErrLookup › golangci/golangci-lint

golangci/golangci-lint

Fast linters runner for Go · Go · 348 source files

Analyzed at ed7a235d2d on 2026-09-02. 245 documented errors.

Code / MessageTypeSeverityTags
the configuration contains invalid elements
validation error golangci-lint, config, jsonschema, validation
unsupported configuration format
validation error golangci-lint, config, file-format
root field 'version' is required
validation error custom-gcl, config, validation, required-field
no plugins defined
validation error custom-gcl, config, plugins, validation
field 'module' is required
validation error custom-gcl, config, plugin, validation
missing information: 'version' or 'path' should be provided
validation error custom-gcl, config, plugin, validation
invalid configuration: 'version' and 'path' should not be pr
validation error custom-gcl, config, plugin, validation, mutually-exclusive
configuration file not found
validation error custom-gcl, config, file-not-found
the configuration contains invalid elements
validation error golangci-lint, migrate, config, jsonschema, validation
parallel golangci-lint is running
exception error golangci-lint, file-lock, concurrency
can't combine option --config and --no-config
validation error cli, configuration, golangci-lint
failed to expand configuration path
validation error filesystem, configuration, path-expansion
can't get config directory
exception error filesystem, configuration, path-resolution
path and path-except should not be set at the same time
validation error configuration, validation, yaml
govet: enable-all and disable-all can't be combined
validation error govet, configuration, validation
govet: enable-all and enable can't be combined
validation error govet, configuration, validation
govet: disable-all and disable can't be combined
validation error govet, configuration, validation
path not supported with module type
validation error custom-linters, plugins, configuration
path is required
validation error custom-linters, plugins, configuration
config is disabled by --no-config
validation info configuration, cli, sentinel-error
can't set severity rule option: no default severity defined
validation error config, golangci-lint, severity, validation
severity should be set
validation error config, golangci-lint, severity, validation
analyzer doesn't have settings
validation error golangci-lint, config, go-analysis, settings
no colons
exception warning parsing, go-analysis, packages, position
cgo preprocessing failed
exception error cgo, build, go-analysis, packages
invalid params:%s
validation error gci, formatter, config, validation
enable-all and disable-all options must not be combined
validation error gocritic, config, golangci-lint, validation
enable-all and enabled-tags options must not be combined
validation error gocritic, config, golangci-lint, validation
enable-all and enabled-checks options must not be combined
validation error gocritic, config, golangci-lint, validation
disable-all and disabled-tags options must not be combined
validation error gocritic, config, golangci-lint, validation
disable-all and disabled-checks options must not be combined
validation error
all checks were disabled, but no one check was enabled: at l
validation error
eventually all checks were disabled: at least one must be en
validation error
cannot use 'enable' with 'default=all'
validation error
cannot use 'disable' with 'default=none'
validation error
no linters enabled
exception error
missing config argument in constructor
validation error
missing reportData argument in constructor
validation error
failed to gob encode: %w
exception error
failed to gob decode: %w
exception error gob, cache, decoding
failed to remove dir %s: %w
exception error filesystem, permissions, cache
can't load config: %w
exception error config, yaml, validation
[%s] validate: %w
exception error json-schema, config, validation
compile schema: %w
exception error json-schema, tooling, embedded-assets
[%s] file open: %w
exception error filesystem, config, yaml
[%s] YAML decode: %w
exception error yaml, config, parsing
[%s] TOML decode: %w
exception error toml, config, parsing
create temporary directory: %w
exception error filesystem, tempdir, build
build process: %w
exception error golangci-lint, custom-binary, build
can't load config: %w
exception error golangci-lint, config, validation
invalid version of the configuration: %q
exception error golangci-lint, config, schema-version
failed to create meta-formatter: %w
exception error golangci-lint, formatters, initialization
build walk options: %w
exception error golangci-lint, formatters, cli-flags
failed to process files: %w
exception error golangci-lint, formatters, file-processing
can't load config: %w
exception error golangci-lint, config, validation
can't get enabled formatters: %w
exception error golangci-lint, formatters, configuration
clone golangci-lint: %w
exception error golangci-lint, git, network, custom-binary
update plugin file: %w
exception error golangci-lint, plugins, custom-binary
add to go.mod: %w
exception error
go mod tidy: %w
exception error
build golangci-lint binary: %w
exception error
move golangci-lint binary: %w
exception error
%s: %w
exception error
custom version: %w
exception error
open source file: %w
exception error go, file-io, build, enoent
stat source file: %w
exception error go, file-io, stat, race
create destination directory: %w
exception error go, filesystem, mkdir, permissions
create destination file: %w
exception error go, file-io, openfile, permissions
copy source to destination: %w
exception error go, io-copy, disk-full, file-io
hash plugin directory: %w
exception error go, hash, directory, plugins, config
file %s not found: %w
exception error go, config, file-not-found, cwd
file %s open: %w
exception error go, config, permissions, file-io
YAML decoding: %w
exception error go, yaml, config, parsing
read directory: %w
error_code error go, filesystem, readdir, cwd
%s is not a directory
error_code error filesystem, go, validation
file %s not found: %w
error_code error go, build, file-not-found
generate imports: %w
error_code error go, template, build
write file %s: %w
error_code error filesystem, permissions, go, build
parse template: %w
error_code error go, template, build
execute template: %w
error_code error go, template-execution, code-generation
format source: %w
error_code error go, gofmt, code-generation, configuration
parsing %s: %w
error_code error go, ast-parsing, syntax-error, code-generation
printing %s: %w
error_code error go, ast, printer, code-generation
formatting %s: %w
error_code error go, goimports, formatting, code-generation
writing file %s: %w
error_code error go, filesystem, config-migration, file-write
open file: %w
error_code error go, config, file-not-found, io
constructing mapstructure decoder: %w
error_code error go, mapstructure, config, internal-bug
decoding configuration file: %w
error_code error go, config, mapstructure, schema
YAML decode file %s: %w
error_code error go, yaml, json, config, syntax
TOML decode file %s: %w
error_code error go, toml, config, syntax
unsupported file type: %s
validation error go, config, file-format, validation
can't load config: %w
error_code error go, config, validation, cli, golangci-lint
can't get enabled linters: %w
error_code error go, linters, plugins, cli, golangci-lint
saving configuration file: %w
error_code error go, cli, filesystem, config-migration
unsupported format: %s
validation error go, cli, flag-validation, config-migration
configuration version is already set: %s
validation error go, cli, config, config-migration
[%s] validate: %w
error_code error go, config, validation, yaml
can't load config: %w
error_code error go, config, cli, config-loading
can't parse args: %w
error_code error go, cli, arguments, pflag
can't load config: %w
error_code error go, config, lint, config-loading
failed to build packages cache: %w
error_code error go, cache, filesystem, ci
failed to init hash salt: %w
error_code error go, cache, gomod, module
can't create file %s: %w
error_code error go, profiling, filesystem, cli
can't start CPU profiling: %w
error_code error profiling, pprof, cli, golangci-lint
can't start tracing: %w
error_code error tracing, runtime-trace, cli, golangci-lint
can't write heap profile: %w
error_code error profiling, pprof, io, filesystem, golangci-lint
context loading failed: %w
error_code error go-packages, build, ci, golangci-lint
failed to calculate binary salt: %w
error_code error cache, hashing, binary, golangci-lint
failed to calculate config salt: %w
error_code error config, cache, yaml, golangci-lint
failed to JSON marshal config linter settings: %w
error_code error config, serialization, yaml, cache, golangci-lint
failed to get goenv: %w
exception error goenv, cache, environment, ci, golangci-lint
failed to read go.mod: %w
exception error go, golangci-lint, cache, go-mod
failed to compute go.sum: %w
exception error go, golangci-lint, cache, hashing
can't parse --config option: %w
validation error golangci-lint, config, cli
can't unmarshal config by viper (flags): %w
validation error golangci-lint, config, viper, unmarshal
can't read viper config: %w
validation error golangci-lint, config, viper, yaml
can't unmarshal config by viper (flags, file): %w
validation error golangci-lint, config, viper, unmarshal
invalid path regex: %w
validation error golangci-lint, config, regex, validation
invalid path-except regex: %w
validation error golangci-lint, config, regex, validation
invalid text regex: %w
validation error golangci-lint, config, regex, validation
invalid source regex: %w
validation error golangci-lint, config, regex, validation
at least %d of (text, source, path[-except], linters) should
validation error golangci-lint, config-validation, exclusions
reading go.mod file: %w
exception error golangci-lint, go-mod, file-io
%s is not a formatter
validation error golangci-lint, config-validation, formatters
%s is a formatter
validation error golangci-lint, config-validation, migration
error in exclude rule #%d: %w
validation error golangci-lint, config-validation, exclusions
invalid preset: %s
validation error golangci-lint, config-validation, presets
custom linter %q: %w
validation error golangci-lint, config-validation, plugins
%s is not a linter, it cannot be enabled or disabled
validation error golangci-lint, config-validation, migration
get base path: %w
exception error golangci-lint, config-loading, filesystem
unsupported version of the configuration: %q See https://gol
validation error golangci-lint, config-version, migration
the sort-order name %q is repeated several times
validation error config, validation, golangci-lint
unsupported sort-order name %q
validation error config, validation, golangci-lint
unsupported output path mode %q
validation error config, validation, path-mode
invalid modules download path %s, only (%s) allowed
validation error config, go-modules, validation
invalid relative path mode %s, only (%s) allowed
validation error config, validation, path-mode
error in severity rule #%d: %w
validation error config, validation, severity-rules
get go.mod path: %w
exception error go-modules, filesystem, path-resolution
get git root: %w
exception error git, filesystem, path-resolution
get wd: %w
exception error filesystem, os, path-resolution
unknown relative path mode: %s
validation error config, path-resolution, internal
can't read file %s: %w
exception error
can't eval symlinks on wd %s: %w
exception error
can't get working directory: %w
exception error
can't eval symlinks for path %s: %w
exception error
can't get relative path for path %s and root %s: %w
exception error
failed to get file %s lines cache: %w
exception error
invalid file line index0 < 0: %d
exception error
invalid file line index0 (%d) >= len(fc) (%d)
exception error
can't get file %s bytes from cache: %w
exception error
analyzer doesn't have setting %q, valid settings: %v
validation error
failed to set analyzer setting %q with value %q: %w
validation error golangci-lint, configuration, flag-parsing
settings key %q must be valid analyzer name, valid analyzers
validation error golangci-lint, configuration, unknown-key
failed to configure analyzer %s: %w
validation error golangci-lint, configuration, error-wrapping
failed to validate analyzers: %w
validation error golangci-lint, go-analysis, validation
failed to configure analyzers: %w
validation error golangci-lint, configuration, startup
failed to pre-run %s: %w
exception error golangci-lint, linting, go, prerun
can't parse line number %q: %w
exception warning golangci-lint, parsing, go, strconv
failed to parse column from %q: %w
exception warning golangci-lint, parsing, go, strconv
%s: %w
exception error golangci-lint, go, static-analysis, analyzer
failed prerequisites: %w
exception error golangci-lint, go, static-analysis, dependencies
failed to load package %s: %w
exception error golangci-lint, package-loading, facts
dependency %q hasn't been loaded yet
exception error golangci-lint, export-data, package-loading
no export data for %q
exception error golangci-lint, export-data, package-loading
get base path: %w
exception error golangci-lint, configuration, path-resolution
compile path pattern %q: %w
validation error golangci-lint, configuration, regex
unable to open file %s: %w
exception error golangci-lint, formatters, file-io
error while running %s: %w
exception error golangci-lint, formatters, configuration
can't extract issues from %s diff output %q: %w
exception error golangci-lint, formatters, diff
can't parse patch: %w
exception error golangci-lint, diff-parsing, formatters
got no diffs from patch parser: %s
exception error golangci-lint, diff-parsing, patch
invalid formatter %q
validation error golangci-lint, configuration, formatter
gci: creating formatter: %w
exception error golangci-lint, configuration, gci, imports
failed to get shortest rel path for %q: %w
exception error golangci-lint, dupl, path-resolution
failed to create linter %q: %w
exception error golangci-lint, forbidigo, regex, configuration
forbidigo linter failed on file %q: %w
exception error golangci-lint, forbidigo, type-checking
unknown type %s
validation error golangci-lint, goconst, configuration
checker %s config param %s doesn't exist: checker doesn't ha
validation error golangci-lint, gocritic, configuration
checker %s config param %s doesn't exist, all existing: %s
validation error golangci-lint, gocritic, configuration, typo
enabled tag %q doesn't exist, see %s's documentation
validation error golangci-lint, gocritic, configuration, tags
disabled tag %q doesn't exist, see %s's documentation
validation error golangci-lint, gocritic, configuration
enabled check %q doesn't exist, see %s's documentation
validation error golangci-lint, gocritic, configuration
disabled check %q doesn't exist, see %s documentation
validation error golangci-lint, gocritic, configuration
invalid check settings: check %q doesn't exist, see %s docum
validation error golangci-lint, gocritic, configuration
tag %q disabled and enabled at one moment
validation error golangci-lint, gocritic, configuration
check %q disabled and enabled at one moment
validation error golangci-lint, gocritic, configuration
a rule cannot be enabled and disabled at the same time: '%s'
validation error golangci-lint, godoclint, configuration
'%s' is invalid, use low instead. Valid options: low, medium
validation error golangci-lint, gosec, configuration
can't open file %s: %w
error_code error golangci-lint, lll, filesystem
can't scan file %s: %w
error_code error golang, linter, lll, file-scan
makezero linter failed on file %q: %w
error_code error golang, linter, makezero, static-analysis
unknown locale: %q
validation error golang, linter, misspell, configuration
process extra words: %w
error_code error golang, linter, misspell, configuration
can't get file %s contents: %w
error_code error golang, linter, misspell, file-io
typo (%q) and correction (%q) fields should not be empty
validation error golang, linter, misspell, validation
the word %q in the 'typo' field should only contain letters
validation error golang, linter, misspell, validation
the word %q in the 'correction' field should only contain le
validation error golang, linter, misspell, validation
linter failed to run: %w
error_code error golang, linter, nolintlint, static-analysis
failed to encode configuration: %w
error_code error golang, linter, revive, toml, configuration
failed to decode configuration: %w
error_code error golang, toml, configuration, revive, decoding
error in config of rule %q: %w
error_code error golang, configuration, revive, rule-initialization
%w
error_code error golang, environment, go-env, toolchain
clean runtime version: %w
error_code error golang, version-check, toolchain, runtime
the Go language version (%s) used to build golangci-lint is
error_code error golang, version-check, compatibility, toolchain
invalid Go runtime version: %s
error_code error go, toolchain, version-parsing
failed to load packages: %w
error_code error go, packages, build, static-analysis
%w: running `go mod tidy` may solve the problem
error_code warning go, packages, no-files, static-analysis
%s: invalid configuration: %w
error_code error go, configuration, deprecated-linter
this linter is disabled because the Go version (%s) of your
error_code warning go, configuration, version-compatibility
unable to load custom analyzer %q: %s, %w
error_code error
get base path: %w
error_code error
lookup plugin %s: %w
error_code error
plugin does not abide by 'New' function: %T
error_code error
plugin does not abide by 'AnalyzerPlugin' interface: %T
error_code error
plugin(%s): %w
error_code error
plugin(%s): newPlugin %w
error_code error
plugin(%s): BuildAnalyzers %w
error_code error
build linters: %w
error_code error
unknown group: %s
error_code error
unknown linters: '%v', run 'golangci-lint help linters' to s
validation error golangci-lint, configuration, linters
failed to load packages: %w
error_code error golangci-lint, go-packages, module-loading
failed to load with go/packages: %w
error_code error golangci-lint, go-packages, toolchain
package %s: %w
error_code error golangci-lint, go-packages, build-constraints
%v: %w
error_code error golangci-lint, go-packages, missing-path
error creating path relativity processor: %w
error_code error golangci-lint, configuration, processors
failed to get enabled linters: %w
error_code error golangci-lint, configuration, linters
failed to create meta-formatter: %w
exception error golangci-lint, formatters, configuration
can't run linter %s
exception error golangci-lint, linter-runtime, error-join
%s: %w
exception error golangci-lint, panic-recovery, linter-runtime
panic occurred: %s
exception error panic, linter, recovery, runtime
can't create output for %s: %w
exception error io, file-permissions, output, golangci-lint
severities (%v) are not inside supported values (%v), fallba
exception error config, severity, golangci-lint
can't read from patch file %s: %w
exception error file-io, patch, golangci-lint
can't prepare diff by revgrep: %w
exception error git, diff, ci
failed to get doc (%s) of file %s: %w
exception error parser, generated-files, golangci-lint
failed to parse file: %w
exception error go-ast, parser, generated-files
can't compile regexp %q: %w
validation error regex, config, golangci-lint
%q suggests invalid fix: pos (%v) > end (%v)
exception error suggested-fixes, positions, linter-bug
%s: %w
exception error file-io, autofix, golangci-lint
conflicting edits from %s and %s on %s first edits: %s secon
exception error golangci-lint, auto-fix, conflict, linters
can't filter issue %#v: %w
exception error golangci-lint, filter, regex, configuration
error getting working directory: %w
exception error golangci-lint, working-directory, filesystem
unsupported sort-order name %q
validation error golangci-lint, configuration, sort-order
%s%s
panic critical golangci-lint, fatal, logging, process-exit
Can't get working dir: %s
panic critical golangci-lint, panic, working-directory, filesystem