suspicious/noConstEnum
suspicious · since 1.0.0
Safe autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noConstEnum": "error"
}
}
}
}const enum Status {
Open,
Close,
}enum Status {
Open,
Close,
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noConstEnum
suspicious · since 1.0.0
{
"linter": {
"rules": {
"suspicious": {
"noConstEnum": "error"
}
}
}
}Disallow ineffective ordering in files.includes patterns.
Disallow Convex database indexes whose fields are the first fields of another index on the same table.
Disallow the use of Astro's set:html directive.
Require the object syntax when registering Convex queries, mutations, and actions.
Disallow conflicting content sources on Astro elements.