nursery/useConsistentObjectKeys
nursery · since 2.5.14
Unsafe autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"useConsistentObjectKeys": "error"
}
}
}
}{
"caf\u0065\u0301": "espresso"
}{
"caf\u00e9": "espresso"
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/useConsistentObjectKeys
nursery · since 2.5.14
{
"linter": {
"rules": {
"nursery": {
"useConsistentObjectKeys": "error"
}
}
}
}Require kind sets in Biome JS plugins to be created at the top level of the module.
Require a reason when using the @deprecated directive.
Require kind sets instead of comparing kind names one by one in Biome JS plugins.
Require a generic fallback in font-family lists.
Prefer folder exclusions that prevent Biome from scanning the folder.
Require a name for every explicit GraphQL operation definition.