feat: ship configurable lint CLI and Tool v1 bundle
This commit is contained in:
1 parent
f26f6099f2
commit
94c36270fa
16 files changed
+1403
-19
No files matched your search
+6
-1
@@ -1,8 +1,13 @@
|
||||
mod control;
|
||||
mod documentation;
|
||||
mod supplemental;
|
||||
|
||||
pub(crate) use control::check_aligned;
|
||||
pub use control::{check_document, check_function};
|
||||
pub use documentation::{check_documentation, check_function_documentation};
|
||||
pub use supplemental::{
|
||||
check_ast_document, check_entry_without_analysis, check_semantic_document,
|
||||
};
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
@@ -22,7 +27,7 @@ pub enum FixSafety {
|
||||
NotApplicable,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize)]
|
||||
pub struct RuleSpec {
|
||||
pub id: &'static str,
|
||||
pub default_severity: Severity,
|
||||
|
||||
Reference in new issue
Block a user