docs: suggest golangci-lint help linters (#2117)

This commit is contained in:
Tyler Beverley 2021-08-05 01:12:22 -05:00 committed by GitHub
parent 652bd912af
commit a07b1fa26b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ func (v Validator) validateLintersNames(cfg *config.Linters) error {
}
if len(unknownNames) > 0 {
return fmt.Errorf("unknown linters: '%v', run 'golangci-lint linters' to see the list of supported linters",
return fmt.Errorf("unknown linters: '%v', run 'golangci-lint help linters' to see the list of supported linters",
strings.Join(unknownNames, ","))
}