mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Add "inamedparam": checks for interface method with unnamed params (#3793)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
64913173f9
commit
4b188dbfd1
6 changed files with 59 additions and 1 deletions
|
@ -578,6 +578,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
|||
WithLoadForGoAnalysis().
|
||||
WithURL("https://github.com/julz/importas"),
|
||||
|
||||
linter.NewConfig(golinters.NewINamedParam()).
|
||||
WithSince("v1.55.0").
|
||||
WithPresets(linter.PresetStyle).
|
||||
WithURL("https://github.com/macabu/inamedparam"),
|
||||
|
||||
linter.NewConfig(golinters.NewIneffassign()).
|
||||
WithEnabledByDefault().
|
||||
WithSince("v1.0.0").
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue