跳转到内容

GraphQL 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
useGraphqlSortedArguments Sort the arguments of GraphQL fields and directives in natural order.
useGraphqlSortedDefinitions Sort the named definitions in a GraphQL document.
useGraphqlSortedVariables Sort the variable definitions of GraphQL operations in natural order.
useSortedEnumMembers Sort GraphQL enum values in natural order.
useSortedSelectionSet Sort selections inside GraphQL operations and fragments.
useSortedTypeFields Sort fields in GraphQL type definitions by name.

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