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 80add7a commit 6d4c066Copy full SHA for 6d4c066
pkg/config/linters.go
@@ -50,7 +50,7 @@ func (l *Linters) validateNoFormattersEnabled() error {
50
}
51
52
func (l *Linters) validateNoFormattersDisabled() error {
53
- for _, n := range l.Enable {
+ for _, n := range l.Disable {
54
if slices.Contains(getAllFormatterNames(), n) {
55
return fmt.Errorf("%s is a formatter", n)
56
0 commit comments