Skip to content
PluginStats

eslint-plugin-prettier weekly downloads statistics

By prettier (4 listings) · npm · ESLint plugins

Runs prettier as an eslint rule

View on npm Stale · Oct 18, 2026

eslint-plugin-prettier has 19,950,598 recorded weekly downloads on npm, a decrease of 46.3% over the past 30 days, ranking #91 of 2,322 tracked listings.

Weekly downloads
19,950,598
Official API · Oct 18, 2026
7-day growth
-44.0%
-15.7M weekly downloads
30-day growth
-46.3%
-17.2M weekly downloads
90-day growth
-52.8%
-22.3M weekly downloads
Rank
#91
Among tracked npm listings

About eslint-plugin-prettier

eslint-plugin-prettier Build Status

Runs Prettier as an ESLint rule and reports differences as individual ESLint issues.

If your desired formatting does not match Prettier’s output, you should use a different tool such as prettier-eslint instead.

Please read Integrating with linters before installing.

TOC <!-- omit in toc -->

Sample

error: Insert `,` (prettier/prettier) at pkg/commons-atom/ActiveEditorRegistry.js:22:25:
  20 | import {
  21 |   observeActiveEditorsDebounced,
> 22 |   editorChangesDebounced
     |                         ^
  23 | } from './debounced';;
  24 |
  25 | import {observableFromSubscribeFunction} from '../commons-node/event';


error: Delete `;` (prettier/prettier) at pkg/commons-atom/ActiveEditorRegistry.js:23:21:
  21 |   observeActiveEditorsDebounced,
  22 |   editorChangesDebounced
> 23 | } from './debounced';;
     |                     ^
  24 |
  25 | import {observableFromSubscribeFunction} from '../commons-node/event';
  26 | import {cacheWhileSubscribed} from '../commons-node/observable';


2 errors found.

./node_modules/.bin/eslint --format codeframe pkg/commons-atom/ActiveEditorRegistry.js (code from nuclide).

Installation

npm install --save-dev eslint-plugin-prettier eslint-config-prettier
npm install --save-dev --save-exact prettier

eslint-plugin-prettier does not install Prettier or ESLint for you. You must install these yourself.

This plugin works best if you disable all other ESLint rules relating to code formatting, and only enable rules that detect potential bugs. If another active ESLint rule disagrees with prettier about how code should be formatted, it will be impossible to avoid lint errors. Our recommended configuration automatically enables eslint-config-prettier to disable all formatting-related ESLint rules.

Configuration (legacy: .eslintrc*)

For legacy configuration, this plugin ships with a plugin:prettier/recommended config that sets up both eslint-plugin-prettier and eslint-config-prettier in one go.

Add plugin:prettier/recommended as the last item in the extends array in your .eslintrc* config file, so that eslint-config-prettier has the opportunity to override other configs:

{
  "extends": ["plugin:prettier/recommended"]
}

This will:

  • Enable the prettier/prettier rule.
  • Disable the arrow-body-style and prefer-arrow-callback rules which are problematic with this plugin - see the below for why.
  • Enable the eslint-config-prettier config which will turn off ESLint rules that conflict with Prettier.

Configuration (new: eslint.config.js)

For flat configuration, this plugin ships with an eslint-plugin-prettier/recommended config that sets up both eslint-plugin-prettier and eslint-config-prettier in one go.

Import eslint-plugin-prettier/recommended and add it as the last item in the configuration array in your eslint.config.js file so that eslint-config-prettier has the opportunity to override other configs:

const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

module.exports = [
  // Any other config imports go at the top
  eslintPluginPrettierRecommended,
];

This will:

  • Enable the prettier/prettier rule.
  • Disable the arrow-body-style and prefer-arrow-callback rules which are problematic with this plugin - see the below for why.
  • Enable the eslint-config-prettier config which will turn off ESLint rules that conflict with Prettier.

Svelte support

We recommend to use eslint-plugin-svelte instead of eslint-plugin-svelte3 because eslint-plugin-svelte has a correct eslint-svelte-parser instead of hacking.

When use with eslint-plugin-svelte3, eslint-plugin-prettier will just ignore the text passed by eslint-plugin-svelte3, because the text has been modified.

If you still decide to use eslint-plugin-svelte3, you'll need to run prettier --write *.svelte manually.

arrow-body-style and prefer-arrow-callback issue

If you use arrow-body-style or prefer-arrow-callback together with the prettier/prettier rule from this plugin, you can in some cases end up with invalid code due to a bug in ESLint’s autofix – see issue #65.

For this reason, it’s recommended to turn off these rules. The plugin:prettier/recommended config does that for you.…

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin
  • prettier

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-prettier weekly downloads on npm, last 90 days: 19,950,598 weekly downloads as of Oct 18, 2026, -52.8% over 90 days.eslint-plugin-prettierWeekly downloads on npm · Last 90 days19,950,598downloads / week-52.8% over 90 days15M20M25M30M35M40M45M50MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
eslint-plugin-prettier weekly downloads on npm, last 90 days: 19,950,598 weekly downloads as of Oct 18, 2026, -52.8% over 90 days.

7/30/90-day growth

eslint-plugin-prettier weekly downloads growth on npm: -44.0% over 7 days, -46.3% over 30 days, -52.8% over 90 days.eslint-plugin-prettierWeekly downloads growth on npm19,950,598downloads / week now7-day growth-15,685,477 weekly downl…-44.0%30-day growth-17,203,259 weekly downl…-46.3%90-day growth-22,331,889 weekly downl…-52.8%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
eslint-plugin-prettier weekly downloads growth on npm: -44.0% over 7 days, -46.3% over 30 days, -52.8% over 90 days.

Ranking history

eslint-plugin-prettier npm ranking history: currently #91 (by weekly downloads).eslint-plugin-prettiernpm ranking · by weekly downloads · Last 90 days#91current rank#30#40#50#60#70#80#90#100Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
eslint-plugin-prettier npm ranking history: currently #91 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 5, #11 (overall #91)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins256 listings · 13 pages · page 1, #9 (overall #9)
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 (543)
Recent weekly downloads observations for eslint-plugin-prettier
Date (UTC)Weekly downloadsChange vs. previous
19,950,598+2.7M
17,204,641-3.6M
20,780,427-441.4K
21,221,871-7.3M
28,497,717-6.2M
34,745,7000
34,745,700-890.4K
35,636,075-254.8K
35,890,871-252.9K
36,143,762-64.1K
36,207,863-1.4M
37,583,766-2.3M
39,867,575-8.4M
48,261,629—

Similar npm ESLint plugins plugins

All 20 eslint-plugin-prettier 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-prettier. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.