Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsecutiveBlankLinesRule ¶
ConsecutiveBlankLinesRule checks for multiple consecutive blank lines
func NewConsecutiveBlankLinesRule ¶
func NewConsecutiveBlankLinesRule(maxConsecutive int) *ConsecutiveBlankLinesRule
NewConsecutiveBlankLinesRule creates a new L003 rule instance
type IndentationDepthRule ¶
IndentationDepthRule checks for excessive indentation depth
func NewIndentationDepthRule ¶
func NewIndentationDepthRule(maxDepth int, indentSize int) *IndentationDepthRule
NewIndentationDepthRule creates a new L004 rule instance
type LongLinesRule ¶
LongLinesRule checks for lines exceeding maximum length
func NewLongLinesRule ¶
func NewLongLinesRule(maxLength int) *LongLinesRule
NewLongLinesRule creates a new L005 rule instance
type MixedIndentationRule ¶
MixedIndentationRule checks for mixed tabs and spaces in indentation
func NewMixedIndentationRule ¶
func NewMixedIndentationRule() *MixedIndentationRule
NewMixedIndentationRule creates a new L002 rule instance
type RedundantWhitespaceRule ¶
RedundantWhitespaceRule checks for redundant/excessive whitespace
func NewRedundantWhitespaceRule ¶
func NewRedundantWhitespaceRule() *RedundantWhitespaceRule
NewRedundantWhitespaceRule creates a new L010 rule instance
type TrailingWhitespaceRule ¶
TrailingWhitespaceRule checks for unnecessary trailing whitespace
func NewTrailingWhitespaceRule ¶
func NewTrailingWhitespaceRule() *TrailingWhitespaceRule
NewTrailingWhitespaceRule creates a new L001 rule instance