Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RunConfiguration ¶
type RunConfiguration struct {
ContinueOnError bool
StrictLogging bool
ShowPasses bool
Languages map[string]*linter.Language
Ignore *regexp.Regexp
GitDiff int
SingleLang string
// contains filtered or unexported fields
}
RunConfiguration is the entire working set of information to process a project
func (*RunConfiguration) GetLanguage ¶
func (s *RunConfiguration) GetLanguage(lang string) (*linter.Language, error)
GetLanguage lets us query a language that might be in our projects' configuration
func (*RunConfiguration) IsRepo ¶
func (s *RunConfiguration) IsRepo() bool
IsRepo checks for a .git folder
func (*RunConfiguration) List ¶
func (s *RunConfiguration) List()
List to print all languages chkConf fmt and always commands
func (*RunConfiguration) NoStandards ¶
func (s *RunConfiguration) NoStandards()
NoStandards runs all fmt exec commands in languages and in always fmt
func (*RunConfiguration) Run ¶
func (s *RunConfiguration) Run(lintType string) (err error)
Run is the generic way to run everything based on the packages configuration
Click to show internal directories.
Click to hide internal directories.