@@ -77,7 +77,7 @@ var defaultLintersSettings = LintersSettings{
77
77
Gofmt : GoFmtSettings {
78
78
Simplify : true ,
79
79
},
80
- Gofumpt : GofumptSettings {
80
+ Gofumpt : GoFumptSettings {
81
81
LangVersion : "" ,
82
82
ModulePath : "" ,
83
83
ExtraRules : false ,
@@ -236,7 +236,7 @@ type LintersSettings struct {
236
236
Godot GodotSettings
237
237
Godox GodoxSettings
238
238
Gofmt GoFmtSettings
239
- Gofumpt GofumptSettings
239
+ Gofumpt GoFumptSettings
240
240
Goheader GoHeaderSettings
241
241
Goimports GoImportsSettings
242
242
GoModDirectives GoModDirectivesSettings
@@ -483,18 +483,6 @@ type FunlenSettings struct {
483
483
IgnoreComments bool `mapstructure:"ignore-comments"`
484
484
}
485
485
486
- type GciSettings struct {
487
- Sections []string `mapstructure:"sections"`
488
- NoInlineComments bool `mapstructure:"no-inline-comments"`
489
- NoPrefixComments bool `mapstructure:"no-prefix-comments"`
490
- SkipGenerated bool `mapstructure:"skip-generated"`
491
- CustomOrder bool `mapstructure:"custom-order"`
492
- NoLexOrder bool `mapstructure:"no-lex-order"`
493
-
494
- // Deprecated: use Sections instead.
495
- LocalPrefixes string `mapstructure:"local-prefixes"`
496
- }
497
-
498
486
type GinkgoLinterSettings struct {
499
487
SuppressLenAssertion bool `mapstructure:"suppress-len-assertion"`
500
488
SuppressNilAssertion bool `mapstructure:"suppress-nil-assertion"`
@@ -562,34 +550,12 @@ type GodoxSettings struct {
562
550
Keywords []string
563
551
}
564
552
565
- type GoFmtSettings struct {
566
- Simplify bool
567
- RewriteRules []GoFmtRewriteRule `mapstructure:"rewrite-rules"`
568
- }
569
-
570
- type GoFmtRewriteRule struct {
571
- Pattern string
572
- Replacement string
573
- }
574
-
575
- type GofumptSettings struct {
576
- ModulePath string `mapstructure:"module-path"`
577
- ExtraRules bool `mapstructure:"extra-rules"`
578
-
579
- // Deprecated: use the global `run.go` instead.
580
- LangVersion string `mapstructure:"lang-version"`
581
- }
582
-
583
553
type GoHeaderSettings struct {
584
554
Values map [string ]map [string ]string `mapstructure:"values"`
585
555
Template string `mapstructure:"template"`
586
556
TemplatePath string `mapstructure:"template-path"`
587
557
}
588
558
589
- type GoImportsSettings struct {
590
- LocalPrefixes string `mapstructure:"local-prefixes"`
591
- }
592
-
593
559
type GoModDirectivesSettings struct {
594
560
ReplaceAllowList []string `mapstructure:"replace-allow-list"`
595
561
ReplaceLocal bool `mapstructure:"replace-local"`
0 commit comments