Skip to content

GraphQL Rules

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 currently only available in the 2.0 beta release.
Rule nameDescriptionProperties
noDuplicateFieldsNo duplicated fields in GraphQL operations.
useDeprecatedReasonRequire specifying the reason argument when using @deprecated directive
useNamedOperationEnforce specifying the name of GraphQL operations.
useNamingConventionValidates that all enum values are capitalized.