gomnd: new configuration (#2498)

This commit is contained in:
Ludovic Fernandez 2022-01-19 12:46:51 +01:00 committed by GitHub
parent dff995c6b2
commit 1685402de9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 59 additions and 24 deletions

View file

@ -312,7 +312,11 @@ type GoLintSettings struct {
}
type GoMndSettings struct {
Settings map[string]map[string]interface{}
Settings map[string]map[string]interface{} // Deprecated
Checks []string `mapstructure:"checks"`
IgnoredNumbers []string `mapstructure:"ignored-numbers"`
IgnoredFiles []string `mapstructure:"ignored-files"`
IgnoredFunctions []string `mapstructure:"ignored-functions"`
}
type GoModDirectivesSettings struct {