[][src]Function rslint_core::get_rule_docs

pub fn get_rule_docs(rule: &str) -> Option<&'static str>

Get a rule and its documentation.

This will always be Some for valid rule names and it will be an empty string if the rule has no docs