Skip to main content

validate_unique_ids

Function validate_unique_ids 

Source
pub fn validate_unique_ids(rules: &[Rule]) -> Result<(), RuleError>
Expand description

Validate that all rule (id, language) pairs are unique. The same rule id may appear for different languages (e.g. no-todo-fixme for both Rust and TypeScript), so a single rules.disable entry covers both variants.