@@ -249,31 +249,32 @@ type LintersSettings struct {
249
249
} `mapstructure:"blocked"`
250
250
}
251
251
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
277
278
278
279
Custom map [string ]CustomLinterSettings
279
280
}
@@ -387,6 +388,10 @@ type ExhaustiveSettings struct {
387
388
DefaultSignifiesExhaustive bool `mapstructure:"default-signifies-exhaustive"`
388
389
}
389
390
391
+ type ExhaustiveStructSettings struct {
392
+ StructPatterns []string `mapstructure:"struct-patterns"`
393
+ }
394
+
390
395
type GofumptSettings struct {
391
396
ExtraRules bool `mapstructure:"extra-rules"`
392
397
}
0 commit comments