Skip to main contentModule registry
Source - 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
- 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
- all_rules
- Collect all registered rules sorted by name.