aboutsummaryrefslogtreecommitdiff
path: root/bin/src/lib.rs
blob: 010533454ca6af0f4c0b0c15bf9bb36528231d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod config;
pub mod dirs;
pub mod err;
pub mod explain;
pub mod fix;
pub mod lint;
pub mod traits;

mod utils;

use std::collections::HashMap;

use lib::Lint;
use rnix::SyntaxKind;

pub type LintMap = HashMap<SyntaxKind, Vec<&'static Box<dyn Lint>>>;