aboutsummaryrefslogtreecommitdiff
path: root/bin/src/lib.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-11-20 13:27:28 +0000
committerAkshay <[email protected]>2021-11-20 13:27:28 +0000
commitf27372061a0effe3b00d400f4e577b9d9e0ad4c0 (patch)
treeedb9a9644a7ce6e8c28e937cdc5e4d62d45b4cb3 /bin/src/lib.rs
parenta5c3e679b06536bb43085b1a978854a73274af10 (diff)
add config option to fix and check
Diffstat (limited to 'bin/src/lib.rs')
-rw-r--r--bin/src/lib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/src/lib.rs b/bin/src/lib.rs
index 49c1a41..0105334 100644
--- a/bin/src/lib.rs
+++ b/bin/src/lib.rs
@@ -5,3 +5,12 @@ pub mod explain;
5pub mod fix; 5pub mod fix;
6pub mod lint; 6pub mod lint;
7pub mod traits; 7pub mod traits;
8
9mod utils;
10
11use std::collections::HashMap;
12
13use lib::Lint;
14use rnix::SyntaxKind;
15
16pub type LintMap = HashMap<SyntaxKind, Vec<&'static Box<dyn Lint>>>;