code-buster 0.11.0

Repository-aware static analysis for AI-assisted development
Documentation
1
2
3
4
5
6
7
8
9
10
use super::*;

pub(super) const PACK: RulePack =
    RulePack::main("odin", "odin", &["odin"], None, false, false, analyze);

fn analyze(context: &RulePackContext<'_, '_, '_>) -> Result<RulePackOutput, String> {
    Ok(RulePackOutput::findings(
        crate::languages::odin::rules::analyze(context.source_context),
    ))
}