Skip to main content

rule_by_token

Function rule_by_token 

Source
pub fn rule_by_token(token: &str) -> Option<&'static RuleDef>
Expand description

Look up an issue type from a user-facing token.

Accepts canonical SARIF ids (fallow/unused-export), issue tokens (unused-export), and common CLI filter spellings (unused-exports).