suspicious/noEmptyObjectKeys
suspicious · since 2.4.7
No autofix
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noEmptyObjectKeys": "error"
}
}
}
}{
"": "value"
}{
"validKey": "value",
"": "another value"
}{
" ": "space as key"
}{
"key": "value"
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noEmptyObjectKeys
suspicious · since 2.4.7
{
"linter": {
"rules": {
"suspicious": {
"noEmptyObjectKeys": "error"
}
}
}
}Require unique operation names within a GraphQL document.
Disallow variables from evolving into any type through reassignments.
Disallow duplicate dependencies in package.json.