Skip to content
PluginStats

eslint-plugin-perfectionist weekly downloads statistics

By azat-io (2 listings) · npm · ESLint plugins

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

View on npm Fresh · Dec 6, 2026

eslint-plugin-perfectionist has 4,763,048 recorded weekly downloads on npm, an increase of 8.0% over the past 30 days, ranking #171 of 3,247 tracked listings.

Weekly downloads
4,763,048
Official API · Dec 5, 2026
7-day growth
+14.6%
+605.7K weekly downloads
30-day growth
+8.0%
+353.4K weekly downloads
90-day growth
+93.2%
+2.3M weekly downloads
Rank
#171
▲ 1 in 7 days

About eslint-plugin-perfectionist

ESLint Plugin Perfectionist

<img src="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/logo.svg" alt="ESLint Plugin Perfectionist logo" align="right" height="160" />

Version Monthly Download Code Coverage GitHub License

An ESLint plugin that sets rules to format your code and make it consistent.

This plugin defines rules for sorting various data, such as objects, imports, TypeScript types, enums, JSX props, Svelte attributes, etc. alphabetically, naturally, or by line length.

All rules are automatically fixable. It's safe!

Why

Sorting imports and properties in software development offers numerous benefits:

  • Readability: Finding declarations in a sorted, large list is a little faster. Remember that you read the code much more often than you write it.

  • Maintainability: Sorting imports and properties is considered a good practice in software development, contributing to code quality and consistency across the codebase.

  • Code Review and Collaboration: If you set rules that say you can only do things one way, no one will have to spend time thinking about how to do it.

  • Code Uniformity: When all code looks exactly the same, it is very hard to see who wrote it, which makes achieving the lofty goal of collective code ownership easier.

  • Aesthetics: This not only provides functional benefits, but also gives the code an aesthetic appeal, visually pleasing and harmonious structure. Take your code to a beauty salon!

Documentation

See docs.

Try it on your own code in the Playground.

Alphabetical Sorting
<picture> <source srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-light.webp" media="(prefers-color-scheme: light)" /> <source srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-dark.webp" media="(prefers-color-scheme: dark)" /> <img src="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-light.webp" alt="ESLint Plugin Perfectionist alphabetical usage example" /> </picture>
Sorting by Line Length
<picture> <source srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-light.webp" media="(prefers-color-scheme: light)" /> <source srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-dark.webp" media="(prefers-color-scheme: dark)" /> <img src="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-light.webp" alt="ESLint Plugin Perfectionist line length usage example" /> </picture>

Installation

You'll first need to install ESLint v8.45.0 or greater:

npm install --save-dev eslint

Next, install eslint-plugin-perfectionist:

npm install --save-dev eslint-plugin-perfectionist

Usage

Add eslint-plugin-perfectionist to the plugins section of the ESLint configuration file and define the list of rules you will use.

Flat Config (eslint.config.js)
import perfectionist from 'eslint-plugin-perfectionist'

export default [
  {
    plugins: {
      perfectionist,
    },
    rules: {
      'perfectionist/sort-imports': [
        'error',
        {
          type: 'natural',
          order: 'asc',
        },
      ],
    },
  },
]
Legacy Config (.eslintrc.js)
<!-- prettier-ignore -->
module.exports = {
  plugins: [
    'perfectionist',
  ],
  rules: {
    'perfectionist/sort-imports': [
      'error',
      {
        type: 'natural',
        order: 'asc',
      }
    ]
  }
}

Configs

The easiest way to use eslint-plugin-perfectionist is to use ready-made configs. Config files use all the rules of the current plugin, but you can override them.

Flat Config (eslint.config.js)
<!-- prettier-ignore -->
import perfectionist from 'eslint-plugin-perfectionist'

export default [
  perfectionist.configs['recommended-natural'],
]
Legacy Config (.eslintrc.js)
<!-- prettier-ignore -->
module.exports = {
  extends: [
    'plugin:perfectionist/recommended-natural-legacy',
  ],
}
List of Configs…

Description from the npm listing.

  • eslint
  • eslint-plugin
  • perfectionist

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-perfectionist weekly downloads on npm, last 90 days: 4,763,048 weekly downloads as of Dec 5, 2026, +93.2% over 90 days.eslint-plugin-perfectionistWeekly downloads on npm · Last 90 days4,763,048downloads / week+93.2% over 90 days01M2M3M4M5MSep 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-perfectionist weekly downloads on npm, last 90 days: 4,763,048 weekly downloads as of Dec 5, 2026, +93.2% over 90 days.

7/30/90-day growth

eslint-plugin-perfectionist weekly downloads growth on npm: +14.6% over 7 days, +8.0% over 30 days, +93.2% over 90 days.eslint-plugin-perfectionistWeekly downloads growth on npm4,763,048downloads / week now7-day growth+605,692 weekly downloads+14.6%30-day growth+353,442 weekly downloads+8.0%90-day growth+2,297,290 weekly downlo…+93.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-perfectionist weekly downloads growth on npm: +14.6% over 7 days, +8.0% over 30 days, +93.2% over 90 days.

Ranking history

eslint-plugin-perfectionist npm ranking history: currently #171 (by weekly downloads).eslint-plugin-perfectionistnpm ranking · by weekly downloads · Last 90 days#171current rank#40#60#80#100#120#140#160#180Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-perfectionist npm ranking history: currently #171 (by weekly downloads).

Listing placement

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

Listing placement

ESLint plugins290 listings · 15 pages · page 2, #3 (overall #23)
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 (592)
Recent weekly downloads observations for eslint-plugin-perfectionist
Date (UTC)Weekly downloadsChange vs. previous
4,763,048+7.5K
4,755,577+149.6K
4,605,996+196.8K
4,409,182+105.9K
4,303,312+99.3K
4,204,040+30.6K
4,173,404+16K
4,157,356-40.3K
4,197,613-110K
4,307,566-106.7K
4,414,264-56.9K
4,471,182-31.4K
4,502,622-27.2K
4,529,794—

Similar npm ESLint plugins plugins

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