style/useConsistentGraphqlDescriptions
style · since 2.3.6
No autofix
biome.json
{
"linter": {
"rules": {
"style": {
"useConsistentGraphqlDescriptions": "error"
}
}
}
}Require one description style throughout a GraphQL schema.
enum EnumValue {
"this is a description"
DEFAULT
}enum EnumValue {
"""
this is a description
"""
DEFAULT
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
style/useConsistentGraphqlDescriptions
style · since 2.3.6
{
"linter": {
"rules": {
"style": {
"useConsistentGraphqlDescriptions": "error"
}
}
}
}Disallow CSS properties, values, at-rules, functions, and selectors that are not part of the configured Baseline.
Require uppercase names for GraphQL enum values.
Disallow unused error parameters in catch clauses.
Require one executable GraphQL definition per file.