eslint-plugin-workspaces weekly downloads statistics
By joshuajaco · npm · ESLint plugins
An ESLint plugin for enforcing consistent imports across monorepo packages.
eslint-plugin-workspaces has 168,789 recorded weekly downloads on npm, an increase of 7.1% over the past 30 days, ranking #553 of 3,247 tracked listings.
About eslint-plugin-workspaces
eslint-plugin-workspaces

An ESLint plugin for enforcing consistent imports across monorepo packages.
It supports:
Installation
# npm
npm i -D eslint-plugin-workspaces
#pnpm
pnpm add -D eslint-plugin-workspaces
# yarn
yarn add -D eslint-plugin-workspaces
Configuration
Enable the rules in your eslint.config.js file:
import workspaces from "eslint-plugin-workspaces";
export default [
{
plugins: { workspaces },
rules: {
"workspaces/no-relative-imports": "error",
"workspaces/require-dependency": "warn",
},
},
// ...
];
Or add the "recommended" preset:
import workspaces from "eslint-plugin-workspaces";
export default [
workspaces.configs.recommended,
// ...
];
ESLint v8 RC Config
Enable the rules in your .eslintrc.json file:
{
plugins: ["workspaces"],
rules: {
"workspaces/no-relative-imports": "error",
"workspaces/require-dependency": "warn",
},
}
Or add the "recommended" preset:
{
extends: ["plugin:workspaces/legacy-recommended"],
}
Rules
✔ included in the "recommended" preset
🔧 fixable using the --fix command line option
| Name | Description | ||
|---|---|---|---|
| ✔ | 🔧 | no-absolute-imports | disallow absolute imports for files that are within the current package |
| no-cross-imports | disallow imports of files that are inside another package | ||
| ✔ | 🔧 | no-relative-imports | disallow relative imports of files that are outside of the current package |
| ✔ | require-dependency | disallow importing from packages that are not listed as a dependency |
Presets
recommendedenables rules recommended for all usersallenables all ruleslegacy-recommendedsame asrecommendedbut for eslintrc formatlegacy-allsame asallbut for eslintrc formatflat/recommended(DEPRECATED) alias forrecommendedflat/all(DEPRECATED) alias forall
License
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- monorepo
- packages
- workspaces
- npm
- pnpm
- yarn
- bun
- lerna
- bolt
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm ESLint plugins plugins
All 20 eslint-plugin-workspaces alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-workspaces. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.