Skip to content

archlintWe don't fix your architecture. We stop it from getting worse.

Fast, AST-based architecture smell detector for TypeScript/JavaScript projects.

archlint logo

Why archlint?

Modern codebases grow complex fast. archlint helps you detect architectural problems early before they become technical debt.

bash
# Catch regressions in your 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.

Released under the MIT License.