Skip to content


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.

This plugin provides three configs out of the box.

See the ESLint docs for more information about extending config files.

recommended-alphabeticalall plugin rules with alphabetical sorting in ascending order
recommended-naturalall plugin rules with natural sorting in ascending order
recommended-line-lengthall plugin rules with sorting by line length in descending order

Released under the MIT License