Skip to main content

sqruff_lib/
lib.rs

1pub mod core;
2#[cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))]
3pub mod ignore;
4pub mod rules;
5pub mod templaters;
6#[cfg(test)]
7mod tests;
8pub mod utils;
9
10pub trait Formatter: Send + Sync {
11    fn dispatch_file_violations(&self, linted_file: &core::linter::linted_file::LintedFile);
12    fn dispatch_file_skip(&self, fname: &str, reason: &str);
13    fn completion_message(&self, count: usize);
14}