Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterIgnoredPaths ¶ added in v0.8.0
func FindRegalDirectory ¶
FindRegalDirectory searches for a .regal directory first in the directory of path, and if not found, in the parent directory, and if not found, in the parent's parent directory, and so on.
Types ¶
type Config ¶
type ExtraAttributes ¶
type Ignore ¶ added in v0.5.0
type Ignore struct {
Files []string `json:"files,omitempty" yaml:"files,omitempty"`
}
type Rule ¶
type Rule struct { Level string Ignore Ignore `json:"ignore,omitempty" yaml:"ignore,omitempty"` Extra ExtraAttributes }
func (Rule) MarshalJSON ¶
func (Rule) MarshalYAML ¶ added in v0.8.0
func (*Rule) UnmarshalJSON ¶
func (*Rule) UnmarshalYAML ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.