Skip to main content

Crate arch_lint_ts

Crate arch_lint_ts 

Source
Expand description

§arch-lint-ts

Tree-sitter based cross-language architecture linter.

This crate extends arch-lint with Tree-sitter powered analysis for non-Rust languages (Kotlin, and more to come). It reuses arch-lint-core types (Violation, Severity, Location) and adds:

Re-exports§

pub use config::ArchConfig;
pub use engine::ArchRuleEngine;
pub use extractor::FileAnalysis;
pub use extractor::LanguageExtractor;
pub use kotlin::KotlinExtractor;
pub use layer::LayerResolver;

Modules§

config
TOML configuration for architecture layer rules.
engine
Architecture rule engine.
extractor
Language-agnostic extraction types and trait.
kotlin
Kotlin language extractor using Tree-sitter.
layer
Layer resolution: maps packages/imports to architecture layers.