Architecture Linter
Enforce layer rules in TypeScript (ESLint for architecture)
#Open Source
#Developer Tools
#YC Application
Architecture Linter – Enforce layer rules in TypeScript projects
Summary: Architecture Linter detects forbidden layer imports in TypeScript projects by scanning code against defined architecture rules. It reports violations with file details and fix suggestions, supporting presets for NestJS, Clean Architecture, Hexagonal, and Next.js.
What it does
It enforces architecture rules by scanning TypeScript projects for import violations using a .context.yml file and provides fixes. It integrates via CLI, VS Code extension, and GitHub Action.
Who it's for
Developers maintaining layered TypeScript applications who need to enforce architectural boundaries.
Why it matters
It prevents architectural violations that ESLint cannot detect, ensuring proper layer separation and code structure.