diff options
author | Akshay <[email protected]> | 2021-11-20 13:26:26 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-11-28 07:55:23 +0000 |
commit | 2b6012a79cb092e5d88c050cb494057efef28fc2 (patch) | |
tree | cd31973c32431a5cbf8c12ce574f799d065852be /bin/src/lib.rs | |
parent | 4e063b2abc402ac4d6902647e821978269025c7d (diff) |
introduce --config flag
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>>>; | ||