Versions in this module Expand all Collapse all v0 v0.0.4 Dec 13, 2014 Changes in this version + var BootstrapNotFoundError = &LintError + var BootstrapNotFoundInfo = &LintError + var ContributingNotFoundError = &LintError + var ContributingNotFoundInfo = &LintError + var LicenseNotFoundError = &LintError + var LicenseNotFoundInfo = &LintError + var ReadmeNotFoundError = &LintError + var ReadmeNotFoundInfo = &LintError + var TestScriptNotFoundError = &LintError + var TestScriptNotFoundInfo = &LintError + func NewApp() *cli.App + type Flags struct + RunBootstrap bool + RunContributing bool + RunLicense bool + RunReadme bool + RunTestScript bool + type GitHubFetcher struct + func NewGitHubFetcher() *GitHubFetcher + func NewGitHubFetcherWithToken(token string) *GitHubFetcher + func (g *GitHubFetcher) FetchRepository(nwo string) (repo *Repository, err error) + func (g *GitHubFetcher) FetchTree(nwo string) (paths []string, err error) + func (g *GitHubFetcher) ParseFullName(nwo string) (owner, name string, err error) + type LintError struct + Level int + Message string + func (e *LintError) Error() (out string) + type Linter struct + func (l *Linter) Run(p Project, flags *Flags) (summary *Summary, err error) + type LocalProject struct + Path string + func (l *LocalProject) CheckBootstrap() bool + func (l *LocalProject) CheckContributing() bool + func (l *LocalProject) CheckLicense() bool + func (l *LocalProject) CheckReadme() bool + func (l *LocalProject) CheckTestScript() bool + type Project interface + CheckBootstrap func() bool + CheckContributing func() bool + CheckLicense func() bool + CheckReadme func() bool + CheckTestScript func() bool + type RemoteProject struct + FullName string + func (l *RemoteProject) CheckBootstrap() bool + func (l *RemoteProject) CheckContributing() bool + func (l *RemoteProject) CheckLicense() bool + func (l *RemoteProject) CheckReadme() bool + func (l *RemoteProject) CheckTestScript() bool + func (r *RemoteProject) Fetch(fetcher RemoteRepositoryFetcher) error + type RemoteRepositoryFetcher interface + FetchRepository func(string) (*Repository, error) + FetchTree func(string) ([]string, error) + type Repository struct + Description string + Homepage string + type Summary struct + Errors []*LintError + func (l *Summary) Print(out io.Writer, colored bool) + func (list *Summary) AppendError(err *LintError) + func (list *Summary) Severity() int v0.0.3 Jan 21, 2014 v0.0.2 Jan 20, 2014 Changes in this version + type Lint struct + Errors []*lintError + Path string + func (l *Lint) CheckBootstrap() + func (l *Lint) CheckContributing() + func (l *Lint) CheckLicense() + func (l *Lint) CheckReadme() + func (l *Lint) CheckTest() + func (l *Lint) Severity() int