@@ -32,7 +32,6 @@ var defaultLintersSettings = LintersSettings{
3232 },
3333 Exhaustive : ExhaustiveSettings {
3434 Check : []string {"switch" },
35- CheckGenerated : false ,
3635 DefaultSignifiesExhaustive : false ,
3736 IgnoreEnumMembers : "" ,
3837 PackageScopeOnly : false ,
@@ -75,7 +74,6 @@ var defaultLintersSettings = LintersSettings{
7574 Gosmopolitan : GosmopolitanSettings {
7675 AllowTimeLocal : false ,
7776 EscapeHatches : []string {},
78- IgnoreTests : true ,
7977 WatchForScripts : []string {"Han" },
8078 },
8179 Inamedparam : INamedParamSettings {
@@ -304,7 +302,6 @@ func (s *LintersSettings) Validate() error {
304302type AsasalintSettings struct {
305303 Exclude []string `mapstructure:"exclude"`
306304 UseBuiltinExclusions bool `mapstructure:"use-builtin-exclusions"`
307- IgnoreTest bool `mapstructure:"ignore-test"`
308305}
309306
310307type BiDiChkSettings struct {
@@ -326,7 +323,6 @@ type CopyLoopVarSettings struct {
326323type Cyclop struct {
327324 MaxComplexity int `mapstructure:"max-complexity"`
328325 PackageAverage float64 `mapstructure:"package-average"`
329- SkipTests bool `mapstructure:"skip-tests"`
330326}
331327
332328type DepGuardSettings struct {
@@ -397,7 +393,6 @@ type ErrorLintAllowPair struct {
397393
398394type ExhaustiveSettings struct {
399395 Check []string `mapstructure:"check"`
400- CheckGenerated bool `mapstructure:"check-generated"`
401396 DefaultSignifiesExhaustive bool `mapstructure:"default-signifies-exhaustive"`
402397 IgnoreEnumMembers string `mapstructure:"ignore-enum-members"`
403398 IgnoreEnumTypes string `mapstructure:"ignore-enum-types"`
@@ -460,7 +455,6 @@ type GocognitSettings struct {
460455
461456type GoConstSettings struct {
462457 IgnoreStrings string `mapstructure:"ignore-strings"`
463- IgnoreTests bool `mapstructure:"ignore-tests"`
464458 MatchWithConstants bool `mapstructure:"match-constant"`
465459 MinStringLen int `mapstructure:"min-len"`
466460 MinOccurrencesCount int `mapstructure:"min-occurrences"`
@@ -535,19 +529,17 @@ type GoModGuardSettings struct {
535529}
536530
537531type GoSecSettings struct {
538- Includes []string `mapstructure:"includes"`
539- Excludes []string `mapstructure:"excludes"`
540- Severity string `mapstructure:"severity"`
541- Confidence string `mapstructure:"confidence"`
542- ExcludeGenerated bool `mapstructure:"exclude-generated"`
543- Config map [string ]any `mapstructure:"config"`
544- Concurrency int `mapstructure:"concurrency"`
532+ Includes []string `mapstructure:"includes"`
533+ Excludes []string `mapstructure:"excludes"`
534+ Severity string `mapstructure:"severity"`
535+ Confidence string `mapstructure:"confidence"`
536+ Config map [string ]any `mapstructure:"config"`
537+ Concurrency int `mapstructure:"concurrency"`
545538}
546539
547540type GosmopolitanSettings struct {
548541 AllowTimeLocal bool `mapstructure:"allow-time-local"`
549542 EscapeHatches []string `mapstructure:"escape-hatches"`
550- IgnoreTests bool `mapstructure:"ignore-tests"`
551543 WatchForScripts []string `mapstructure:"watch-for-scripts"`
552544}
553545
@@ -749,13 +741,12 @@ type RecvcheckSettings struct {
749741}
750742
751743type ReviveSettings struct {
752- Go string `mapstructure:"-"`
753- MaxOpenFiles int `mapstructure:"max-open-files"`
754- IgnoreGeneratedHeader bool `mapstructure:"ignore-generated-header"`
755- Confidence float64 `mapstructure:"confidence"`
756- Severity string `mapstructure:"severity"`
757- EnableAllRules bool `mapstructure:"enable-all-rules"`
758- Rules []struct {
744+ Go string `mapstructure:"-"`
745+ MaxOpenFiles int `mapstructure:"max-open-files"`
746+ Confidence float64 `mapstructure:"confidence"`
747+ Severity string `mapstructure:"severity"`
748+ EnableAllRules bool `mapstructure:"enable-all-rules"`
749+ Rules []struct {
759750 Name string `mapstructure:"name"`
760751 Arguments []any `mapstructure:"arguments"`
761752 Severity string `mapstructure:"severity"`
0 commit comments