We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed47d6f commit 168a8dfCopy full SHA for 168a8df
pkg/config/linters_settings.go
@@ -909,8 +909,7 @@ type UnconvertSettings struct {
909
}
910
911
type UnparamSettings struct {
912
- CheckExported bool `mapstructure:"check-exported"`
913
- Algo string `mapstructure:"algo"`
+ CheckExported bool `mapstructure:"check-exported"`
914
915
916
type UnusedSettings struct {
pkg/lint/linter/config.go
@@ -90,10 +90,6 @@ func (lc *Config) WithGroups(names ...string) *Config {
90
91
92
func (lc *Config) FromGroup(name string) bool {
93
- if lc.Groups == nil {
94
- return false
95
- }
96
-
97
_, ok := lc.Groups[name]
98
return ok
99
0 commit comments