mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
gocritic: support of enable-all and disable-all options (#4335)
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
This commit is contained in:
parent
b07bd18cfd
commit
c65868c105
12 changed files with 824 additions and 429 deletions
|
@ -460,7 +460,9 @@ type GoConstSettings struct {
|
|||
|
||||
type GoCriticSettings struct {
|
||||
Go string `mapstructure:"-"`
|
||||
DisableAll bool `mapstructure:"disable-all"`
|
||||
EnabledChecks []string `mapstructure:"enabled-checks"`
|
||||
EnableAll bool `mapstructure:"enable-all"`
|
||||
DisabledChecks []string `mapstructure:"disabled-checks"`
|
||||
EnabledTags []string `mapstructure:"enabled-tags"`
|
||||
DisabledTags []string `mapstructure:"disabled-tags"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue