npm / eslint-plugin-perfectionist
eslint-plugin-perfectionist
What changed in eslint-plugin-perfectionist 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
1 breaking1 new APIs and options4 performance1 behavior and defaults1 tooling8 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initeslint-plugin-perfectionist 516 changes
Breaking changes 1
Rejects newline options combined with partitioning by newlines.
New APIs and options 1
Adds the sort-constructor-parameters rule.
Performance 4
Narrows dependency scope walks.
Caches disabled lines.
Skips elements whose options cannot report errors.
Skips work for objects that cannot be reported.
Behavior and default changes 1
eslint is now an optional peer dependency, so it is no longer required as a peer dependency when installing the plugin.
Tooling 1
Supports using the plugin with oxlint without installing eslint.
Fixes and other changes 8
Restores the alphabet reverse method.
Natural sorting supports lists of locales.
Allows partitioning imports by newlines.
Registers the exported plugin object in configs.
Validates setting values.
Treats prefix-only modules without a prefix as external.
Stops the tsconfig search at the drive root on Windows.
Honors eslint-disable directives that include a description.