Skip to main content

Module rules

Module rules 

Source
Expand description

Lint rule catalog — every pv lint rule has an ID, default severity, and description.

Rule ID format: PV-<CATEGORY>-NNN Categories: VAL (validation), AUD (audit), SCR (score), PRV (provability), TRD (trend)

Spec: docs/specifications/sub/lint.md Section 12

Structs§

LintRule
A lint rule definition.

Enums§

RuleCategory
Rule categories.
RuleSeverity
Configurable severity levels per rule.

Statics§

RULES
All lint rules in the catalog.

Functions§

find_rule
Look up a rule by ID.
rules_for_category
Get all rules for a category.