aboutsummaryrefslogtreecommitdiff
path: root/bin/src/lib.rs
blob: 82003476784203d6483f3cda97c295f8b0f97da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod config;
pub mod dirs;
pub mod dump;
pub mod err;
pub mod explain;
pub mod fix;
pub mod lint;
pub mod session;
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>>>;