diff options
author | Akshay <[email protected]> | 2021-11-20 13:27:28 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-11-20 13:27:28 +0000 |
commit | f27372061a0effe3b00d400f4e577b9d9e0ad4c0 (patch) | |
tree | edb9a9644a7ce6e8c28e937cdc5e4d62d45b4cb3 /bin/src/lib.rs | |
parent | a5c3e679b06536bb43085b1a978854a73274af10 (diff) |
add config option to fix and check
Diffstat (limited to 'bin/src/lib.rs')
-rw-r--r-- | bin/src/lib.rs | 9 |
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; | |||
5 | pub mod fix; | 5 | pub mod fix; |
6 | pub mod lint; | 6 | pub mod lint; |
7 | pub mod traits; | 7 | pub mod traits; |
8 | |||
9 | mod utils; | ||
10 | |||
11 | use std::collections::HashMap; | ||
12 | |||
13 | use lib::Lint; | ||
14 | use rnix::SyntaxKind; | ||
15 | |||
16 | pub type LintMap = HashMap<SyntaxKind, Vec<&'static Box<dyn Lint>>>; | ||