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-astro-attributesEnforce sorted Astro attributes
sort-classesEnforce sorted classes
sort-enumsEnforce sorted TypeScript enums
sort-exportsEnforce sorted exports
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-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-svelte-attributesEnforce sorted Svelte attributes
sort-switch-caseEnforce sorted switch case statements
sort-union-typesEnforce sorted union types
sort-variable-declarationsEnforce sorted variable declarations
sort-vue-attributesEnforce sorted Vue attributes