28+ 个检测器
从循环依赖到上帝模块和图层违规。使用 Rust 和 oxc 构建,实现极致性能。
现代代码库的复杂度增长很快。archlint 帮助您在架构问题演变成技术债之前尽早发现它们。
# 在您的 PR 中捕获退化
npx -y @archlinter/cli diff HEAD~1 --explain🔴 REGRESSION: New cycle detected
src/orders/service.ts → src/payments/processor.ts → src/orders/service.ts
Why this is bad:
Circular dependencies create tight coupling between modules.
Changes in one module can cause unexpected failures in the other.
How to fix:
Extract shared logic into a separate module, or use dependency injection.