Documentation ¶ Index ¶ func LookupRule(query string) (string, error) type RuleInfo func ListRules() ([]RuleInfo, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LookupRule ¶ func LookupRule(query string) (string, error) LookupRule finds a rule by ID (e.g. "MDS001") or name (e.g. "line-length") and returns its full README content. Types ¶ type RuleInfo ¶ type RuleInfo struct { ID string Name string Status string Description string Content string } RuleInfo holds metadata extracted from a rule README's front matter. func ListRules ¶ func ListRules() ([]RuleInfo, error) ListRules returns all embedded rules sorted by ID. Source Files ¶ View all Source files ruledocs.go Directories ¶ Show internal Expand all Path Synopsis blanklinearoundfencedcode blanklinearoundheadings blanklinearoundlists catalog concisenessscoring crossfilereferenceintegrity emptysectionbody fencedcodelanguage fencedcodestyle firstlineheading headingincrement headingstyle include linelength listindent maxfilelength nobareurls noduplicateheadings noemphasisasheading noemptyalttext nohardtabs nomultipleblanks notrailingpunctuation notrailingspaces paragraphreadability paragraphstructure requiredstructure singletrailingnewline tableformat tablereadability tokenbudget unclosedcodeblock Click to show internal directories. Click to hide internal directories.