Plugin: modularity
Rules
All ESLint rules provided by eslint-plugin-modularity
5 Rules Available
Clean module boundaries and DDD patterns.
All Rules
Legend: Type-unaware Type-awareRecommendedFixableSuggestionsWarns
| Rule | 🧠 | 💼 | 🔧 | 💡 | ⚠️ | Docs |
|---|---|---|---|---|---|---|
| ddd-anemic-domain-model Detects entities with only getters/setters and no business logic | 🟢 | |||||
| ddd-value-object-immutability Validates value objects are properly immutable | 🟢 | |||||
| enforce-naming Enforce domain-specific naming conventions with business context | 🟢 | |||||
| enforce-rest-conventions Validates REST endpoint design against best practices | 🟢 | |||||
| no-external-api-calls-in-utils Detects network calls in utility functions | 🟢 | |||||
| no-mutable-exports Disallow mutable exports (export let / export var) | 🟢 |
Showing 6 of 6 rules
Building secure JavaScript with Interlace? Star the repo to get new rules and CWE coverage as we ship them — or follow the AI-code-security benchmarks behind them.