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 Stale · Oct 17, 2026

eslint-plugin-perfectionist has 1,497,944 recorded weekly downloads on npm, a decrease of 42.0% over the past 30 days, ranking #169 of 2,308 tracked listings.

Weekly downloads
1,497,944
Official API · Oct 18, 2026
7-day growth
-51.8%
-1.6M weekly downloads
30-day growth
-42.0%
-1.1M weekly downloads
90-day growth
-43.1%
-1.1M weekly downloads
Rank
#169
Among tracked npm listings

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: 1,899,799 weekly downloads as of Oct 18, 2026, -27.8% over 90 days.eslint-plugin-perfectionistWeekly downloads on npm · Last 90 days1,899,799downloads / week-27.8% over 90 days1M1.5M2M2.5M3M3.5M4MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
eslint-plugin-perfectionist weekly downloads on npm, last 90 days: 1,899,799 weekly downloads as of Oct 18, 2026, -27.8% over 90 days.

7/30/90-day growth

eslint-plugin-perfectionist weekly downloads growth on npm: -38.9% over 7 days, -27.3% over 30 days, -27.8% over 90 days.eslint-plugin-perfectionistWeekly downloads growth on npm1,899,799downloads / week now7-day growth-1,209,444 weekly downlo…-38.9%30-day growth-712,324 weekly downloads-27.3%90-day growth-730,191 weekly downloads-27.8%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
eslint-plugin-perfectionist weekly downloads growth on npm: -38.9% over 7 days, -27.3% over 30 days, -27.8% over 90 days.

Ranking history

eslint-plugin-perfectionist npm ranking history: currently #169 (by weekly downloads).eslint-plugin-perfectionistnpm ranking · by weekly downloads · Last 90 days#169current rank#40#60#80#100#120#140#160#180Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 17, 2026 – Oct 19, 2026 · 3 observations · Updated Oct 17, 2026pluginstats.com
eslint-plugin-perfectionist npm ranking history: currently #169 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 9, #9 (overall #169)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins253 listings · 13 pages · page 2, #4 (overall #24)
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 (544)
Recent weekly downloads observations for eslint-plugin-perfectionist
Date (UTC)Weekly downloadsChange vs. previous
1,899,799+401.9K
1,497,944-293K
1,790,957+63.2K
1,727,767-671.8K
2,399,543-661.4K
3,060,9360
3,060,936-48.3K
3,109,243+3K
3,106,218-37.5K
3,143,711+13.3K
3,130,409+33.8K
3,096,626-477
3,097,103-666.3K
3,763,369—

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 Oct 20, 2026. See the methodology.