golangci/golangci-lint
Documented errors, page 2 of 3. Back to golangci/golangci-lint
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| failed prerequisites | exception | error | golangci-lint, go, static-analysis, dependencies |
| failed to configure analyzer | validation | error | golangci-lint, configuration, error-wrapping |
| plugin does not abide by 'AnalyzerPlugin' interface: %T | error_code | error | |
| can't combine option --config and --no-config | validation | error | cli, configuration, golangci-lint |
| forbidigo linter failed on file | exception | error | golangci-lint, forbidigo, type-checking |
| invalid file line index0 | exception | error | |
| parsing | error_code | error | go, ast-parsing, syntax-error, code-generation |
| invalid params | validation | error | gci, formatter, config, validation |
| can't start CPU profiling | error_code | error | profiling, pprof, cli, golangci-lint |
| failed to build packages cache | error_code | error | go, cache, filesystem, ci |
| process extra words | error_code | error | golang, linter, misspell, configuration |
| failed to remove dir | exception | error | filesystem, permissions, cache |
| parse template | error_code | error | go, template, build |
| unknown locale | validation | error | golang, linter, misspell, configuration |
| unsupported sort-order name | validation | error | config, validation, golangci-lint |
| cannot use 'enable' with 'default=all' | validation | error | |
| gci: creating formatter | exception | error | golangci-lint, configuration, gci, imports |
| error in exclude rule # | validation | error | golangci-lint, config-validation, exclusions |
| package | error_code | error | golangci-lint, go-packages, build-constraints |
| can't get config directory | exception | error | filesystem, configuration, path-resolution |
| invalid configuration: 'version' and 'path' should not be… | validation | error | custom-gcl, config, plugin, validation, mutually-exclusive |
| get wd | exception | error | filesystem, os, path-resolution |
| plugin( ): newPlugin | error_code | error | |
| %v: %w | error_code | error | golangci-lint, go-packages, missing-path |
| YAML decoding | exception | error | go, yaml, config, parsing |
| can't write heap profile | error_code | error | profiling, pprof, io, filesystem, golangci-lint |
| can't parse --config option | validation | error | golangci-lint, config, cli |
| failed to calculate config salt | error_code | error | config, cache, yaml, golangci-lint |
| checker config param doesn't exist: checker doesn't have… | validation | error | golangci-lint, gocritic, configuration |
| failed to get enabled linters | error_code | error | golangci-lint, configuration, linters |
| clone golangci-lint | exception | error | golangci-lint, git, network, custom-binary |
| get base path | exception | error | golangci-lint, configuration, path-resolution |
| build golangci-lint binary | exception | error | |
| can't parse line number | exception | warning | golangci-lint, parsing, go, strconv |
| failed to get shortest rel path for | exception | error | golangci-lint, dupl, path-resolution |
| ' ' is invalid, use low instead. Valid options: low… | validation | error | golangci-lint, gosec, configuration |
| can't create file | error_code | error | go, profiling, filesystem, cli |
| compile path pattern | validation | error | golangci-lint, configuration, regex |
| config is disabled by --no-config | validation | info | configuration, cli, sentinel-error |
| custom version | exception | error | |
| failed to pre-run | exception | error | golangci-lint, linting, go, prerun |
| read directory | error_code | error | go, filesystem, readdir, cwd |
| can't open file | error_code | error | golangci-lint, lll, filesystem |
| failed to create meta-formatter | exception | error | golangci-lint, formatters, configuration |
| can't parse patch | exception | error | golangci-lint, diff-parsing, formatters |
| failed to get goenv | exception | error | goenv, cache, environment, ci, golangci-lint |
| copy source to destination | exception | error | go, io-copy, disk-full, file-io |
| failed to get file lines cache | exception | error | |
| the word in the 'correction' field should only contain… | validation | error | golang, linter, misspell, validation |
| invalid version of the configuration | exception | error | golangci-lint, config, schema-version |
| no linters enabled | exception | error | |
| can't get enabled formatters | exception | error | golangci-lint, formatters, configuration |
| failed to init hash salt | error_code | error | go, cache, gomod, module |
| plugin( ): BuildAnalyzers | error_code | error | |
| can't create output for | exception | error | io, file-permissions, output, golangci-lint |
| move golangci-lint binary | exception | error | |
| write file | error_code | error | filesystem, permissions, go, build |
| can't eval symlinks on wd | exception | error | |
| error while running | exception | error | golangci-lint, formatters, configuration |
| [ ] YAML decode | exception | error | yaml, config, parsing |
| can't get file contents | error_code | error | golang, linter, misspell, file-io |
| enable-all and enabled-tags options must not be combined | validation | error | gocritic, config, golangci-lint, validation |
| path and path-except should not be set at the same time | validation | error | configuration, validation, yaml |
| disabled tag doesn't exist, see 's documentation | validation | error | golangci-lint, gocritic, configuration |
| enabled tag doesn't exist, see 's documentation | validation | error | golangci-lint, gocritic, configuration, tags |
| can't get relative path for path | exception | error | |
| can't start tracing | error_code | error | tracing, runtime-trace, cli, golangci-lint |
| typo ( ) and correction ( ) fields should not be empty | validation | error | golang, linter, misspell, validation |
| context loading failed | error_code | error | go-packages, build, ci, golangci-lint |
| [ ] file open | exception | error | filesystem, config, yaml |
| failed to configure analyzers | validation | error | golangci-lint, configuration, startup |
| checker config param doesn't exist, all existing | validation | error | golangci-lint, gocritic, configuration, typo |
| YAML decode file | error_code | error | go, yaml, json, config, syntax |
| error getting working directory | exception | error | golangci-lint, working-directory, filesystem |
| unsupported file type | validation | error | go, config, file-format, validation |
| is not a formatter | validation | error | golangci-lint, config-validation, formatters |
| enable-all and enabled-checks options must not be combined | validation | error | gocritic, config, golangci-lint, validation |
| invalid formatter | validation | error | golangci-lint, configuration, formatter |
| unsupported version of the configuration | validation | error | golangci-lint, config-version, migration |
| can't unmarshal config by viper (flags) | validation | error | golangci-lint, config, viper, unmarshal |
| failed to JSON marshal config linter settings | error_code | error | config, serialization, yaml, cache, golangci-lint |
| failed to read go.mod | exception | error | go, golangci-lint, cache, go-mod |
| is a formatter | validation | error | golangci-lint, config-validation, migration |
| failed to calculate binary salt | error_code | error | cache, hashing, binary, golangci-lint |
| failed to create linter | exception | error | golangci-lint, forbidigo, regex, configuration |
| severity should be set | validation | error | config, golangci-lint, severity, validation |
| path not supported with module type | validation | error | custom-linters, plugins, configuration |
| failed to compute go.sum | exception | error | go, golangci-lint, cache, hashing |
| can't get working directory | exception | error | |
| custom linter | validation | error | golangci-lint, config-validation, plugins |
| invalid path regex | validation | error | golangci-lint, config, regex, validation |
| enable-all and disable-all options must not be combined | validation | error | gocritic, config, golangci-lint, validation |
| can't read file | exception | error | |
| this linter is disabled because the Go version | error_code | warning | go, configuration, version-compatibility |
| update plugin file | exception | error | golangci-lint, plugins, custom-binary |
| a rule cannot be enabled and disabled at the same time | validation | error | golangci-lint, godoclint, configuration |
| cannot use 'disable' with 'default=none' | validation | error | |
| generate imports | error_code | error | go, template, build |
| invalid source regex | validation | error | golangci-lint, config, regex, validation |
| can't unmarshal config by viper (flags, file) | validation | error | golangci-lint, config, viper, unmarshal |