Perfectionist

Rules

Check out the list of all ESLint rules that this plugin includes.

If you have any ideas what rules this plugin is missing, feel free to create an issue on GitHub.

Automatically fixable by the --fix CLI option .

RuleDescription
sort-array-includesEnforce sorted arrays before include method
sort-classesEnforce sorted classes
sort-decoratorsEnforce sorted decorators
sort-enumsEnforce sorted TypeScript enums
sort-exportsEnforce sorted exports
sort-heritage-clausesEnforce sorted heritage clauses
sort-importsEnforce sorted imports
sort-interfacesEnforce sorted interface properties
sort-intersection-typesEnforce sorted intersection types
sort-jsx-propsEnforce sorted JSX props
sort-mapsEnforce sorted Map elements
sort-modulesEnforce sorted modules
sort-named-exportsEnforce sorted named exports
sort-named-importsEnforce sorted named imports
sort-object-typesEnforce sorted object types
sort-objectsEnforce sorted objects
sort-setsEnforce sorted Set elements
sort-switch-caseEnforce sorted switch case statements
sort-union-typesEnforce sorted union types
sort-variable-declarationsEnforce sorted variable declarations