
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
eslint-plugin-boundaries
Advanced tools
Eslint plugin checking architecture boundaries between elements
Enforce architectural boundaries in your JavaScript and TypeScript projects.
ESLint Plugin Boundaries is an ESLint plugin that helps you maintain clean architecture by enforcing boundaries between different parts of your codebase. Define your architectural layers, specify how they can interact, and get instant feedback when boundaries are violated.
The full documentation is available on the JS Boundaries website.
Install the plugin using npm:
npm install eslint eslint-plugin-boundaries --save-dev
Define your architectural elements:
import boundaries from "eslint-plugin-boundaries";
export default [
{
plugins: { boundaries },
settings: {
"boundaries/elements": [
{ type: "controllers", pattern: "controllers/*" },
{ type: "models", pattern: "models/*" },
{ type: "views", pattern: "views/*" }
]
}
}
];
Define your dependency rules:
{
rules: {
"boundaries/element-types": [2, {
default: "disallow",
rules: [
{ from: "controllers", allow: ["models", "views"] },
{ from: "views", allow: ["models"] },
{ from: "models", disallow: ["*"] }
]
}]
}
}
Now ESLint will catch violations:
// In src/models/model.js
import View from "../views/view"; // ❌ Error: Architectural boundary violated
To everyone who has opened an issue, suggested improvements, fixed bugs, added features, or improved documentation: Thank you. Your contributions, no matter how small, make a real difference. Every bug report helps us improve, every feature request guides our roadmap, and every pull request strengthens the project.
Special recognition goes to those who have contributed code to the project. Your technical contributions are the foundation of what makes this plugin valuable to the community.
Want to contribute? We'd love to have you! Here are some ways to get involved:
MIT © javierbrea
eslint-plugin-import is a popular ESLint plugin that helps manage import/export syntax and module resolution. It provides a wide range of rules for ensuring proper import/export practices, such as preventing unresolved imports and enforcing consistent import order. While it focuses more on syntax and module resolution, eslint-plugin-boundaries is more about enforcing architectural boundaries.
FAQs
Eslint plugin checking architecture boundaries between elements
The npm package eslint-plugin-boundaries receives a total of 346,156 weekly downloads. As such, eslint-plugin-boundaries popularity was classified as popular.
We found that eslint-plugin-boundaries demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.