Versions in this module Expand all Collapse all v0 v0.2.0 Sep 2, 2026 Changes in this version + const RuleIDH001 + const RuleIDH002 + const RuleIDH003 + const RuleIDH004 + const RuleIDH005 + const RuleIDH006 + const RuleIDH007 + const RuleIDH008 + const RuleIDH009 + const RuleIDH0SUP + func IsGeneratedFile(path string, content []byte) bool + func RuleCommaf() linter.RuleFunc + func RuleOrdinal() linter.RuleFunc + func VerifySuppressionComment(comment string) (bool, bool) + func VerifySuppressions(dir string, report *finding.Report) ([]finding.Finding, error) + func VerifySuppressionsInFiles(fset *token.FileSet, files []*ast.File, report *finding.Report) []finding.Finding + type HumanizeDetector struct + func NewHumanizeDetector(rules ...linter.RuleFunc) *HumanizeDetector + func (d *HumanizeDetector) Run(fset *token.FileSet, file *ast.File, fn *ast.FuncDecl, filePath string) []finding.Finding + type SuppressionDirective struct + Column int + FilePath string + FunctionLine int + Line int + RawText string + Suppressed []string + type WalkError struct + Dir string + Err error + func (e *WalkError) Error() string + func (e *WalkError) Unwrap() error v0.1.0 Jul 30, 2026 Changes in this version + func AllRules() []linter.RuleFunc + func DefaultRegistry() *linter.Registry + func DetectFuncDecl(fset *token.FileSet, file *ast.File, fn *ast.FuncDecl, filePath string) []finding.Finding + func RuleBytes() linter.RuleFunc + func RuleComma() linter.RuleFunc + func RuleFtoa() linter.RuleFunc + func RuleParseBytes() linter.RuleFunc + func RulePlural() linter.RuleFunc + func RuleRelTime() linter.RuleFunc + func RuleSI() linter.RuleFunc + type ParsedFile struct + File *ast.File + Fset *token.FileSet + Path string + func WalkGoDir(dir string) ([]ParsedFile, error)