We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862ed88 commit 21ee78cCopy full SHA for 21ee78c
pkg/lint/lintersdb/validator.go
@@ -22,7 +22,7 @@ func (v Validator) validateLintersNames(cfg *config.Linters) error {
22
allNames = append(allNames, cfg.Disable...)
23
for _, name := range allNames {
24
if v.m.GetLinterConfigs(name) == nil {
25
- return fmt.Errorf("no such linter %q", name)
+ return fmt.Errorf("no such linter %v, run 'golangci-lint linters' to see the list of supported linters", name)
26
}
27
28
0 commit comments