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 is applied to JavaScript and super languages files.
- The icon indicates that the rule is applied to TypeScript and TSX files.
- The icon indicates that the rule is applied to JSON files.
- The icon indicates that the rule is applied to CSS files.
- The icon indicates that the rule is applied to GraphQL files.
Source
Section titled SourceRules that generate code actions that are safe to apply to the code.
Rule name | Description | Properties |
---|---|---|
useSortedAttributes | Enforce attribute sorting in JSX elements. | |
useSortedKeys | Sorts the keys of a JSON object in natural order |
Recommended rules
Section titled Recommended rulesThe recommended rules are: