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 .
Used in all recommended configurations.
Rule | Description | ||
---|---|---|---|
sort-array-includes | Enforce sorted arrays before include method | ||
sort-astro-attributes | Enforce sorted Astro attributes | ||
sort-classes | Enforce sorted classes | ||
sort-enums | Enforce sorted TypeScript enums | ||
sort-exports | Enforce sorted exports | ||
sort-imports | Enforce sorted imports | ||
sort-interfaces | Enforce sorted interface properties | ||
sort-intersection-types | Enforce sorted intersection types | ||
sort-jsx-props | Enforce sorted JSX props | ||
sort-maps | Enforce sorted Map elements | ||
sort-named-exports | Enforce sorted named exports | ||
sort-named-imports | Enforce sorted named imports | ||
sort-object-types | Enforce sorted object types | ||
sort-objects | Enforce sorted objects | ||
sort-sets | Enforce sorted Set elements | ||
sort-svelte-attributes | Enforce sorted Svelte attributes | ||
sort-switch-case | Enforce sorted switch case statements | ||
sort-union-types | Enforce sorted union types | ||
sort-variable-declarations | Enforce sorted variable declarations | ||
sort-vue-attributes | Enforce sorted Vue attributes |