Commit 29e52e5 1 parent c0364d4 commit 29e52e5 Copy full SHA for 29e52e5
File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ var defaultLintersSettings = LintersSettings{
21
21
CheckGenerated : false ,
22
22
DefaultSignifiesExhaustive : false ,
23
23
IgnoreEnumMembers : "" ,
24
- CheckingStrategy : "value" ,
24
+ PackageScopeOnly : false ,
25
25
},
26
26
Forbidigo : ForbidigoSettings {
27
27
ExcludeGodocExamples : true ,
@@ -223,9 +223,6 @@ type ExhaustiveSettings struct {
223
223
DefaultSignifiesExhaustive bool `mapstructure:"default-signifies-exhaustive"`
224
224
IgnoreEnumMembers string `mapstructure:"ignore-enum-members"`
225
225
PackageScopeOnly bool `mapstructure:"package-scope-only"`
226
-
227
- IgnorePattern string `mapstructure:"ignore-pattern"` // Deprecated: this setting has no effect; see IgnoreEnumMembers instead.
228
- CheckingStrategy string `mapstructure:"checking-strategy"` // Deprecated.
229
226
}
230
227
231
228
type ExhaustiveStructSettings struct {
Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ func NewExhaustive(settings *config.ExhaustiveSettings) *goanalysis.Linter {
19
19
exhaustive .DefaultSignifiesExhaustiveFlag : settings .DefaultSignifiesExhaustive ,
20
20
exhaustive .IgnoreEnumMembersFlag : settings .IgnoreEnumMembers ,
21
21
exhaustive .PackageScopeOnlyFlag : settings .PackageScopeOnly ,
22
-
23
- exhaustive .IgnorePatternFlag : settings .IgnorePattern ,
24
- exhaustive .CheckingStrategyFlag : settings .CheckingStrategy ,
25
22
},
26
23
}
27
24
}
You can’t perform that action at this time.
0 commit comments