Documentation
¶
Index ¶
Constants ¶
View Source
const ( BilingualRuleName = "bilingual" RuSuffix = ".ru.md" RuFallbackSuffix = "_ru.md" )
View Source
const (
CyrillicInEnglishRuleName = "cyrillic-in-english"
)
View Source
const (
ReadmeRuleName = "readme"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BilingualRule ¶
func NewBilingualRule ¶
func NewBilingualRule() *BilingualRule
func (*BilingualRule) CheckBilingual ¶
func (r *BilingualRule) CheckBilingual(m pkg.Module, errorList *errors.LintRuleErrorsList)
type CyrillicInEnglishRule ¶
func NewCyrillicInEnglishRule ¶
func NewCyrillicInEnglishRule() *CyrillicInEnglishRule
func (*CyrillicInEnglishRule) CheckFiles ¶
func (r *CyrillicInEnglishRule) CheckFiles(m pkg.Module, errorList *errors.LintRuleErrorsList)
type ReadmeRule ¶
func NewReadmeRule ¶
func NewReadmeRule() *ReadmeRule
func (*ReadmeRule) CheckReadme ¶
func (r *ReadmeRule) CheckReadme(m pkg.Module, errorList *errors.LintRuleErrorsList)
Click to show internal directories.
Click to hide internal directories.