Perfectionist

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.

This plugin provides three configs out of the box.

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

Config Description
recommended-alphabetical All plugin rules with alphabetical sorting in ascending order
recommended-natural All plugin rules with natural sorting in ascending order
recommended-line-length All plugin rules with sorting by line length in descending order
recommended-custom All plugin rules with sorting by your own custom order