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.

ConfigDescription
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