sqruff-lib 0.39.0

A high-speed SQL linter.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod core;
#[cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))]
pub mod ignore;
pub mod rules;
pub mod templaters;
#[cfg(test)]
mod tests;
pub mod utils;

pub trait Formatter: Send + Sync {
    fn dispatch_file_violations(&self, linted_file: &core::linter::linted_file::LintedFile);
    fn dispatch_file_skip(&self, fname: &str, reason: &str);
    fn completion_message(&self, count: usize);
}