mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
gomnd: new configuration (#2498)
This commit is contained in:
parent
dff995c6b2
commit
1685402de9
5 changed files with 59 additions and 24 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue