We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f1642b commit d4d0ebcCopy full SHA for d4d0ebc
pkg/commands/help.go
@@ -26,6 +26,8 @@ type linterHelp struct {
26
Presets []string `json:"presets"`
27
EnabledByDefault bool `json:"enabledByDefault"`
28
Deprecated bool `json:"deprecated"`
29
+ Since string `json:"since"`
30
+ OriginalURL string `json:"originalURL,omitempty"`
31
}
32
33
type helpOptions struct {
@@ -114,6 +116,8 @@ func (c *helpCommand) printJSON() error {
114
116
Presets: lc.InPresets,
115
117
EnabledByDefault: lc.EnabledByDefault,
118
Deprecated: lc.IsDeprecated(),
119
+ Since: lc.Since,
120
+ OriginalURL: lc.OriginalURL,
121
})
122
123
0 commit comments