🏗️ Architecture Enforcement
Enforce hexagonal, layered, clean, or modular architecture patterns automatically.
Enforce clean architecture patterns with ESLint. Keep your codebase maintainable as it scales.
🏗️ Architecture Enforcement
⚡ Zero Config
🔍 Clear Violations
🎯 Deny by Default
🔧 Customizable
📦 Monorepo Ready
Add hexagonal architecture enforcement to your ESLint config:
import stricture from '@stricture/eslint-plugin'
export default [
stricture.configs.hexagonal()
] That's it! Stricture will now prevent:
Hexagonal
Ports & Adapters pattern with clear domain isolation.
Learn more →Layered
Traditional N-tier architecture with unidirectional dependencies.
Learn more →Clean
Uncle Bob's Clean Architecture with concentric layers.
Learn more →Modular
Feature-based modules with encapsulated public APIs.
Learn more →