mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
build(deps): github.com/macabu/inamedparam from 0.1.2 to 0.1.3 (#4261)
This commit is contained in:
parent
815556a868
commit
32e5b2bf11
8 changed files with 57 additions and 10 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue