# azat-io/eslint-plugin-perfectionist

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

Repository: https://github.com/azat-io/eslint-plugin-perfectionist
Canonical: https://ross.abutalabs.com/products/eslint-plugin-perfectionist
Homepage: https://perfectionist.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: eslint, eslint-plugin, eslint-rules, perfectionist
Last push: 2026-08-24T11:55:46+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 86
- inputs: {"age_days": 1216, "days_push": 9, "days_rel": 29, "gap_med": 9.5, "n_releases_24m": 47}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2916, forks 65 (observed 2026-08-28T04:07:29.977772+00:00)

## What it is
An ESLint plugin that provides rules for sorting various code elements such as objects, imports, TypeScript types, enums, JSX props, and more. All rules are automatically fixable and support alphabetical, natural, line-length, and custom sorting strategies.

## Use cases
- sort imports alphabetically in eslint
- auto-fix unsorted object keys in javascript
- enforce consistent sorting of typescript types and enums
- sort jsx props and svelte attributes automatically
- organize imports and exports in a consistent order
- sort switch cases and union types with eslint

## When to choose
- you want automated, safe auto-fixable sorting rules in ESLint
- your team needs consistent code style for imports, objects, and types
- you use ESLint 8.45+ and want flexible sorting strategies (alphabetical, natural, line-length, custom)

## When to avoid
- you don't use ESLint in your project
- you prefer a different code formatter like Prettier to handle ordering
- you need sorting of non-code data files

## Facets
- artifact type: plugin
- maturity: active
- function: linter, formatter, developer-tools
- domain: developer-tools, web-development, frontend
- platform: -
- tags: eslint-plugin, code-style, sorting, auto-fix, linting-rules, code-quality, nodejs, javascript, typescript

## Member repositories
- azat-io/eslint-plugin-perfectionist (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:29.977772+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:34:05.888959+00:00, confidence not recorded.
  - readme: https://github.com/azat-io/eslint-plugin-perfectionist (fetched 2026-08-28T04:07:29.977772+00:00, sha 24eb8b05e8f9)
  - homepage: https://perfectionist.dev (fetched 2026-08-29T09:49:40.400870+00:00, sha eb58b2f94e8b)
  - site_page: https://perfectionist.dev/guide/integrations (fetched 2026-08-29T09:49:40.410192+00:00, sha d5cd955c1c60)
  - site_page: https://perfectionist.dev/guide/getting-started (fetched 2026-08-29T09:49:40.412116+00:00, sha 45bcab9ba89d)
  - registry_npm: https://registry.npmjs.org/eslint-plugin-perfectionist (fetched 2026-08-29T09:49:40.413817+00:00, sha a02b50598b72)
- Data as of 2026-08-30T08:39:29.467469+00:00.
