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