Skip to content

JavaScript Actions

Below the list of rules supported by Biome, divided by group. Here’s a legend of the emojis:

  • The icon indicates that the rule is part of the recommended rules.
  • The icon indicates that the rule provides a code action (fix) that is safe to apply.
  • The icon indicates that the rule provides a code action (fix) that is unsafe to apply.
  • The icon indicates that the rule has been implemented and scheduled for the next release.
Rule name Description Properties
noDuplicateClasses Remove repeated CSS class names.
organizeImports Organize imports and exports in JavaScript and TypeScript files.
useSortedAttributes Sort JSX attributes by name.
useSortedEnumMembers Sort the members of a string-valued TypeScript enum.
useSortedInterfaceMembers Sort named members of a TypeScript interface.
useSortedKeys Sort the properties of a JavaScript object.

Missing a rule? Help us by contributing to the analyzer or create a rule suggestion here.