@@ -242,6 +242,7 @@ type LintersSettings struct {
242
242
Goconst GoConstSettings `mapstructure:"goconst"`
243
243
Gocritic GoCriticSettings `mapstructure:"gocritic"`
244
244
Gocyclo GoCycloSettings `mapstructure:"gocyclo"`
245
+ Godoclint GodoclintSettings `mapstructure:"godoclint"`
245
246
Godot GodotSettings `mapstructure:"godot"`
246
247
Godox GodoxSettings `mapstructure:"godox"`
247
248
Goheader GoHeaderSettings `mapstructure:"goheader"`
@@ -520,6 +521,42 @@ type GoCycloSettings struct {
520
521
MinComplexity int `mapstructure:"min-complexity"`
521
522
}
522
523
524
+ type GodoclintSettings struct {
525
+ Include []string `mapstructure:"include"`
526
+ Exclude []string `mapstructure:"exclude"`
527
+ Enable []string `mapstructure:"enable"`
528
+ Disable []string `mapstructure:"disable"`
529
+ Options struct {
530
+ MaxLen struct {
531
+ Length * uint `mapstructure:"length"`
532
+ IncludeTests * bool `mapstructure:"include-tests"`
533
+ } `mapstructure:"max-len"`
534
+ PkgDoc struct {
535
+ StartWith * string `mapstructure:"start-with"`
536
+ IncludeTests * bool `mapstructure:"include-tests"`
537
+ } `mapstructure:"pkg-doc"`
538
+ SinglePkgDoc struct {
539
+ IncludeTests * bool `mapstructure:"include-tests"`
540
+ }
541
+ RequirePkgDoc struct {
542
+ IncludeTests * bool `mapstructure:"include-tests"`
543
+ } `mapstructure:"require-pkg-doc"`
544
+ RequireDoc struct {
545
+ IgnoreExported * bool `mapstructure:"ignore-exported"`
546
+ IgnoreUnexported * bool `mapstructure:"ignore-unexported"`
547
+ IncludeTests * bool `mapstructure:"include-tests"`
548
+ } `mapstructure:"require-doc"`
549
+ StartWithName struct {
550
+ Pattern * string `mapstructure:"pattern"`
551
+ IncludeUnexported * bool `mapstructure:"include-unexported"`
552
+ IncludeTests * bool `mapstructure:"include-tests"`
553
+ } `mapstructure:"start-with-name"`
554
+ NoUnusedLink struct {
555
+ IncludeTests * bool `mapstructure:"include-tests"`
556
+ } `mapstructure:"no-unused-link"`
557
+ } `mapstructure:"options"`
558
+ }
559
+
523
560
type GodotSettings struct {
524
561
Scope string `mapstructure:"scope"`
525
562
Exclude []string `mapstructure:"exclude"`
0 commit comments