Function rslint_core::directives::apply_top_level_directives[][src]

pub fn apply_top_level_directives(
    directives: &[Directive],
    store: &mut CstRuleStore,
    diagnostics: &mut Vec<DirectiveError>,
    file_id: usize
Expand description

Apply file level directives to a store and add their respective diagnostics to the pool of diagnostics. for file level ignores this will clear all the rules from the store.

This method furthermore issues more contextual warnings like disabling a rule after the entire file has been disabled.