//! Generated file, do not edit by hand, see `xtask/codegen`

use crate::analyzer::assist::*;
use biome_analyze::{AnalyzerRules, MetadataRegistry};
pub fn push_to_analyzer_assist(
    rules: &Actions,
    metadata: &MetadataRegistry,
    analyzer_rules: &mut AnalyzerRules,
) {
    if let Some(rules) = rules.source.as_ref() {
        for rule_name in Source::GROUP_RULES {
            if let Some((_, Some(rule_options))) = rules.get_rule_configuration(rule_name)
                && let Some(rule_key) = metadata.find_rule("source", rule_name)
            {
                analyzer_rules.push_rule(rule_key, rule_options);
            }
        }
    }
}
