suspicious/noDuplicateGraphqlOperationName
suspicious · since 2.3.6
No autofix
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateGraphqlOperationName": "error"
}
}
}
}Require unique operation names within a GraphQL document.
query user {
user {
id
}
}
query user {
me {
id
}
}query user {
user {
id
}
}
query me {
me {
id
}
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noDuplicateGraphqlOperationName
suspicious · since 2.3.6
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateGraphqlOperationName": "error"
}
}
}
}Disallow duplicate dependencies in package.json.
Disallow variables from evolving into any type through reassignments.