golangci-lint/pkg/config/linters.go
Ludovic Fernandez db80e16aba
dev: cleanup config package (#1929)
* split config section into files.
* extract anonymous types.
* sort linters alphabetically.
2021-04-24 16:29:04 +02:00

12 lines
209 B
Go

package config
type Linters struct {
Enable []string
Disable []string
EnableAll bool `mapstructure:"enable-all"`
DisableAll bool `mapstructure:"disable-all"`
Fast bool
Presets []string
}