Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitLines ¶
Types ¶
type LintResult ¶
type LintResult struct {
Passed bool `json:"passed"`
Errors []Result `json:"errors"`
Warnings []Result `json:"warnings"`
}
func (*LintResult) Print ¶
func (result *LintResult) Print()
type Linter ¶
func (*Linter) PrepareByContent ¶
func (*Linter) PrepareByFile ¶
func (*Linter) Run ¶
func (linter *Linter) Run(content string) LintResult
type Result ¶
Click to show internal directories.
Click to hide internal directories.