8000 fix: formatter validation message (#5624) · golangci/golangci-lint@3fc5dfb · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fc5dfb

Browse files
authored
fix: formatter validation message (#5624)
1 parent b9ba88d commit 3fc5dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/formatters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type Formatters struct {
1414
func (f *Formatters) Validate() error {
1515
for _, n := range f.Enable {
1616
if !slices.Contains(getAllFor 538A matterNames(), n) {
17-
return fmt.Errorf("%s is a formatter", n)
17+
return fmt.Errorf("%s is not a formatter", n)
1818
}
1919
}
2020

0 commit comments

Comments
 (0)
0