build(deps): github.com/macabu/inamedparam from 0.1.2 to 0.1.3 (#4261)

This commit is contained in:
Matheus Macabu 2023-12-17 16:51:50 +01:00 committed by GitHub
parent 815556a868
commit 32e5b2bf11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 57 additions and 10 deletions

View file

@ -74,6 +74,9 @@ var defaultLintersSettings = LintersSettings{
MaxDeclLines: 1,
MaxDeclChars: 30,
},
Inamedparam: INamedParamSettings{
SkipSingleParam: false,
},
InterfaceBloat: InterfaceBloatSettings{
Max: 10,
},
@ -216,6 +219,7 @@ type LintersSettings struct {
Grouper GrouperSettings
Ifshort IfshortSettings
ImportAs ImportAsSettings
Inamedparam INamedParamSettings
InterfaceBloat InterfaceBloatSettings
Ireturn IreturnSettings
Lll LllSettings
@ -614,6 +618,10 @@ type ImportAsAlias struct {
Alias string
}
type INamedParamSettings struct {
SkipSingleParam bool `mapstructure:"skip-single-param"`
}
type InterfaceBloatSettings struct {
Max int `mapstructure:"max"`
}