Skip to main content

mdlint/format/
sarif.rs

1use crate::format::Formatter;
2use crate::lint::LintResult;
3
4pub struct SarifFormatter;
5
6impl Default for SarifFormatter {
7    fn default() -> Self {
8        Self::new()
9    }
10}
11
12impl SarifFormatter {
13    pub fn new() -> Self {
14        Self
15    }
16}
17
18impl Formatter for SarifFormatter {
19    fn format(&self, _result: &LintResult) -> String {
20        todo!("Implement SARIF formatter")
21    }
22}