Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IndexFunc ¶ added in v0.5.0
IndexFunc computes a readability index from plain text. Higher values mean harder to read.
type Rule ¶
Rule checks that the paragraph readability index does not exceed a configured maximum. Uses the Automated Readability Index by default.
func (*Rule) ApplySettings ¶
ApplySettings implements rule.Configurable.
func (*Rule) Check ¶
func (r *Rule) Check(f *lint.File) []lint.Diagnostic
Check implements rule.Rule.
func (*Rule) DefaultSettings ¶
DefaultSettings implements rule.Configurable.
Click to show internal directories.
Click to hide internal directories.