@medusajs/eslint-plugin weekly downloads statistics
By medusajs · npm · ESLint plugins
Official ESLint plugin for Medusa projects. Enforces Medusa's framework conventions across API routes, modules, workflows, subscribers, jobs, admin extensions, and module links.
@medusajs/eslint-plugin has 115,643 recorded weekly downloads on npm, an increase of 39.8% over the past 30 days, ranking #622 of 3,247 tracked listings.
About @medusajs/eslint-plugin
@medusajs/eslint-plugin is the official ESLint plugin for Medusa projects: it enforces Medusa's conventions for API routes, workflows, modules, data models, subscribers, scheduled jobs, admin extensions, and module links as lint rules. Projects created with Medusa v2.16.0 or later already include it with an eslint.config.ts file; add it manually to older projects, plugins, or standalone module packages.
At a glance
| Package | @medusajs/eslint-plugin |
| Type | Internal tooling |
| Import from | @medusajs/eslint-plugin |
| Entry points | ./configs/recommended, ./configs/strict |
Features
- 74 rules under the
@medusajs/prefix, such as@medusajs/no-loops-in-workflowand@medusajs/route-file-naming. recommendedpreset: the default for Medusa applications. Its rules don't need type information.strictpreset: extendsrecommendedwith type-aware and cross-file rules. Requires atsconfig.jsonthat includes the linted files.modulespreset: service, module definition, and data model rules for packages that only provide a module or module provider.- Flat config only. Supports ESLint
^8.57.0 || ^9.0.0 || ^10.0.0and TypeScript>=4.8.0.
Installation
npm install --save-dev @medusajs/eslint-plugin eslint jiti
eslint is a peer dependency. jiti lets ESLint load an eslint.config.ts file.
Usage
import { defineConfig } from "eslint/config"
import medusa from "@medusajs/eslint-plugin"
export default defineConfig([...medusa.configs.recommended])
Lint the project with the Medusa CLI:
npx medusa lint
| Flag | Description | Default |
|---|---|---|
[paths...] | Files or directories to lint. | Whole project |
--fix | Auto-fix issues where possible. | false |
--quiet | Report errors only. | false |
Resources
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- medusa
- medusajs
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 @medusajs/eslint-plugin 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/@medusajs/eslint-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.