Skip to content
PluginStats

eslint-plugin-md weekly downloads statistics

By leo-buneev (2 listings) · npm · ESLint plugins

An ESLint plugin that allows you to lint markdown code in your *.md files.

View on npm Outdated · Nov 12, 2026

eslint-plugin-md has 28,019 recorded weekly downloads on npm, an increase of 13.9% over the past 30 days, ranking #941 of 3,247 tracked listings.

Weekly downloads
28,019
Official API · Dec 5, 2026
7-day growth
+2.9%
+783 weekly downloads
30-day growth
+13.9%
+3.4K weekly downloads
90-day growth
+31.0%
+6.6K weekly downloads
Rank
#941
▼ 20 in 7 days

About eslint-plugin-md

eslint-plugin-md

An ESLint plugin to lint and fix markdown files. It uses amazing remark-lint under the hood. Also enables using prettier to automatically format your markdown files right from eslint!

Motivation

ESLint is a tool for linting Javascript. There is another plugin called eslint-plugin-markdown, however it is still only linting Javascript parts inside *.md files, and leaves Markdown itself untouched.

Wouldn't it be cool, if we could use ESLint to enforce style of Markdown itself? That is what this plugin is for!

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev
# or
$ yarn add -D eslint

Next, install eslint-plugin-md:

$ npm install eslint-plugin-md --save-dev
# or
$ yarn add -D eslint-plugin-md

Note: If you installed ESLint globally (using the npm -g or yarn global) then you must also install eslint-plugin-md globally.

Usage

Add plugin:md/recommended config to extends section of your your .eslintrc configuration file

// .eslintrc.js
module.exports = {
  extends: ['plugin:md/recommended'],
  overrides: [
    {
      files: ['*.md'],
      parser: 'markdown-eslint-parser',
    },
  ],
}

And this is it! By default it will apply all rules from Markdown style guide.

Note: By default ESLint won't lint *.md files. So:

  • If you use ESLint from CLI, use --ext parameter (e.g. eslint . --ext js,md)
  • If you use VSCode with ESLint plugin, add "eslint.validate": ["markdown"] in your VSCode preferences

Usage with eslint-plugin-prettier

Prettier is an amazing code formatter that supports many languages, including markdown. It is common to use prettier as a rule in ESLint via amazing eslint-plugin-prettier.

This plugin can play nicely together with eslint-plugin-prettier (meaning that first code will be formatted via prettier, and then remark rules will be applied). Typical eslint configuration will look like this:

yarn add -D eslint eslint-plugin-prettier eslint-plugin-md
// .eslintrc.js
module.exports = {
  extends: ['plugin:prettier/recommended', 'plugin:md/recommended'],
  overrides: [
    {
      files: ['*.md'],
      parser: 'markdown-eslint-parser',
      rules: {
        'prettier/prettier': [
          'error',
          // Important to force prettier to use "markdown" parser - otherwise it wouldn't be able to parse *.md files.
          // You also can configure other options supported by prettier here - "prose-wrap" is
          // particularly useful for *.md files
          { parser: 'markdown' },
        ],
      },
    },
  ],
}

Modifying eslint setup for js code inside *.md files

By default, code inside fenced code block marked as js language (```js) will be linted against your default eslint configuration for js files. However, that may be undesirable - usually you will want less strict rules for JS code in *.md files.

To modify setup, you can use "overrides" section in your eslintrc in this way:

// .eslintrc.js
module.exports = {
  extends: ['plugin:md/recommended'],
  overrides: [
    {
      files: ['*.md'],
      parser: 'markdown-eslint-parser',
    },
    {
      files: ['*.md.js'], // Will match js code inside *.md files
      rules: {
        // Example - disable 2 core eslint rules 'no-unused-vars' and 'no-undef'
        'no-unused-vars': 'off',
        'no-undef': 'off',
      },
    },
  ],
}

Supported Rules

This plugin exposes only one eslint rule - md/remark. However, you can customize remark configuration however you wish.

// .eslintrc.js
module.exports = {
  extends: ['plugin:md/recommended'],
  rules: {
    'md/remark': [
      'error',
      {
        // This object corresponds to object you would export in .remarkrc file
        plugins: ['preset-lint-markdown-style-guide', 'frontmatter', ['lint-maximum-line-length', false]],
      },
    ],
  },
  overrides: [
    {
      files: ['*.md'],
      parser: 'markdown-eslint-parser',
    },
  ],
}

"Plugin" in remark can mean many things, but for our purposes it can be either remark rule or remark preset. See list of available rules here, and list of available presets (=set of rules) here.

Remark also supports External rules. You can use those as well, just make sure to install corresponding package first. For example, if you want to use alphabetize-lists external rule:

yarn add -D remark-lint-alphabetize-lists
// .eslintrc.js
module.exports = {
  extends: ['plugin:md/recommended'],
  rules: {
    'md/remark': [
      'error',
      {
        // This object corresponds to object you would export in .remarkrc file
        plugins: ['preset-lint-markdown-style-guide', 'frontmatter', 'remark-lint-alphabetize-lists'],
      },
    ],
  },
  overrides: [
    {
      files: ['*.md'],
      parser: 'markdown-eslint-parser',
    },
  ],
}

Description from the npm listing.

  • markdown
  • md
  • eslint-markdown
  • eslint
  • eslintplugin
  • eslint-plugin

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

eslint-plugin-md weekly downloads on npm, last 90 days: 28,019 weekly downloads as of Dec 5, 2026, +31.0% over 90 days.eslint-plugin-mdWeekly downloads on npm · Last 90 days28,019downloads / week+31.0% over 90 days05K10K15K20K25K30KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
eslint-plugin-md weekly downloads on npm, last 90 days: 28,019 weekly downloads as of Dec 5, 2026, +31.0% over 90 days.

7/30/90-day growth

eslint-plugin-md weekly downloads growth on npm: +2.9% over 7 days, +13.9% over 30 days, +31.0% over 90 days.eslint-plugin-mdWeekly downloads growth on npm28,019downloads / week now7-day growth+783 weekly downloads+2.9%30-day growth+3,427 weekly downloads+13.9%90-day growth+6,634 weekly downloads+31.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-md weekly downloads growth on npm: +2.9% over 7 days, +13.9% over 30 days, +31.0% over 90 days.

Ranking history

eslint-plugin-md npm ranking history: currently #941 (by weekly downloads).eslint-plugin-mdnpm ranking · by weekly downloads · Last 90 days#941current rank#850#900#950#1000#1050#1100#1150#1200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 25 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-md npm ranking history: currently #941 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 48, #1 (overall #941)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins290 listings · 15 pages · page 13, #3 (overall #243)
ESLint plugins: every listing in weekly downloads order

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)
Recent weekly downloads observations for eslint-plugin-md
Date (UTC)Weekly downloadsChange vs. previous
28,019-646
28,665+1.8K
26,873-309
27,182+206
26,976-314
27,290+80
27,210-26
27,236-574
27,810+803
27,007+3.8K
23,241+2.9K
20,324+3.5K
16,800+2.8K
13,967—

Similar npm ESLint plugins plugins

All 20 eslint-plugin-md alternatives

Data 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-md. First seen Oct 16, 2026; last successful collection Nov 12, 2026. See the methodology.