Skip to content

Commit 6d4c066

Browse files
committed
review
1 parent 80add7a commit 6d4c066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/linters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (l *Linters) validateNoFormattersEnabled() error {
5050
}
5151

5252
func (l *Linters) validateNoFormattersDisabled() error {
53-
for _, n := range l.Enable {
53+
for _, n := range l.Disable {
5454
if slices.Contains(getAllFormatterNames(), n) {
5555
return fmt.Errorf("%s is a formatter", n)
5656
}

0 commit comments

Comments
 (0)