Documentation ¶ Index ¶ func Lint(fs _fs.FS, errors Errors, opts LintOptions) error type Error func (e Error) UnknownOwner() string type ErrorKind type Errors func (e Errors) Path() string func (e Errors) UnknownOwners() []string type LintOptions Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Lint ¶ func Lint(fs _fs.FS, errors Errors, opts LintOptions) error Types ¶ type Error ¶ type Error struct { Kind ErrorKind Line int Column int Source string Path string } func (Error) UnknownOwner ¶ func (e Error) UnknownOwner() string type ErrorKind ¶ type ErrorKind string const ( ErrorKindUnknownOwner ErrorKind = "Unknown owner" ) type Errors ¶ type Errors []Error func (Errors) Path ¶ func (e Errors) Path() string func (Errors) UnknownOwners ¶ func (e Errors) UnknownOwners() []string type LintOptions ¶ type LintOptions struct { Console console.Console Fix bool } Source Files ¶ View all Source files linter.go Click to show internal directories. Click to hide internal directories.