Skip to main content

Module registry

Module registry 

Source

Structsยง

ConfigRule
A rule entry enriched with config data, consumed by docgen.
ConfigValue
JSON-compatible resolved configuration value.
Example
A code example that demonstrates a rule โ€” used in --detail output and tests.
Rule ๐Ÿ”’
One lint rule in the language-neutral registry.
RuleInfo ๐Ÿ”’
Shared metadata fields common to both line and AST rules.
RuleMeta
Unified metadata for a registered rule (line or AST).
RuleParam

Enumsยง

ParamDefault
ParamType
RuleCheck ๐Ÿ”’
Language-specific rule check function stored in the unified registry.
RuleFix ๐Ÿ”’
Language-specific fix function corresponding to RuleCheck.
RuleKind
Whether a rule operates on raw lines or parsed AST.
Severity

Functionsยง

all_rules
Collect all registered rules sorted by name.