feat: ship configurable lint CLI and Tool v1 bundle

This commit is contained in:
cflmy committed 2026-11-23 18:55:58 +08:00
1 parent f26f6099f2
commit 94c36270fa
16 files changed
+1403 -19

No files matched your search

+6 -1
View File
@@ -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,