@@ -249,31 +249,32 @@ type LintersSettings struct {
249249 } `mapstructure:"blocked"`
250250 }
251251
252- WSL WSLSettings
253- Lll LllSettings
254- Unparam UnparamSettings
255- Nakedret NakedretSettings
256- Prealloc PreallocSettings
257- Errcheck ErrcheckSettings
258- Gocritic GocriticSettings
259- Godox GodoxSettings
260- Dogsled DogsledSettings
261- Gocognit GocognitSettings
262- Godot GodotSettings
263- Goheader GoHeaderSettings
264- Testpackage TestpackageSettings
265- Nestif NestifSettings
266- NoLintLint NoLintLintSettings
267- Exhaustive ExhaustiveSettings
268- Gofumpt GofumptSettings
269- ErrorLint ErrorLintSettings
270- Makezero MakezeroSettings
271- Revive ReviveSettings
272- Thelper ThelperSettings
273- Forbidigo ForbidigoSettings
274- Ifshort IfshortSettings
275- Predeclared PredeclaredSettings
276- Cyclop Cyclop
252+ WSL WSLSettings
253+ Lll LllSettings
254+ Unparam UnparamSettings
255+ Nakedret NakedretSettings
256+ Prealloc PreallocSettings
257+ Errcheck ErrcheckSettings
258+ Gocritic GocriticSettings
259+ Godox GodoxSettings
260+ Dogsled DogsledSettings
261+ Gocognit GocognitSettings
262+ Godot GodotSettings
263+ Goheader GoHeaderSettings
264+ Testpackage TestpackageSettings
265+ Nestif NestifSettings
266+ NoLintLint NoLintLintSettings
267+ Exhaustive ExhaustiveSettings
268+ ExhaustiveStruct ExhaustiveStructSettings
269+ Gofumpt GofumptSettings
270+ ErrorLint ErrorLintSettings
271+ Makezero MakezeroSettings
272+ Revive ReviveSettings
273+ Thelper ThelperSettings
274+ Forbidigo ForbidigoSettings
275+ Ifshort IfshortSettings
276+ Predeclared PredeclaredSettings
277+ Cyclop Cyclop
277278
278279 Custom map [string ]CustomLinterSettings
279280}
@@ -387,6 +388,10 @@ type ExhaustiveSettings struct {
387388 DefaultSignifiesExhaustive bool `mapstructure:"default-signifies-exhaustive"`
388389}
389390
391+ type ExhaustiveStructSettings struct {
392+ StructPatterns []string `mapstructure:"struct-patterns"`
393+ }
394+
390395type GofumptSettings struct {
391396 ExtraRules bool `mapstructure:"extra-rules"`
392397}
0 commit comments