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-interfacesEnforce sorted interface properties
sort-importsEnforce sorted imports
sort-intersection-typesEnforce sorted intersection types
sort-jsx-propsEnforce sorted JSX props
sort-mapsEnforce sorted Map elements
sort-modulesEnforce sorted modules
sort-named-importsEnforce sorted named imports
sort-named-exportsEnforce sorted named exports
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