style/useDeprecatedReason
style · since 1.9.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"style": {
"useDeprecatedReason": "error"
}
}
}
}query {
member @deprecated
}query {
member @deprecated(reason: "Why?")
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
style/useDeprecatedReason
style · since 1.9.0
{
"linter": {
"rules": {
"style": {
"useDeprecatedReason": "error"
}
}
}
}Require the table name as the first argument of Convex database calls.
Require a generic fallback in font-family lists.
Require an args validator in Convex queries, mutations, and actions.
Require a name for every explicit GraphQL operation definition.
Require public Convex functions to call an access control function.
Enforces that <img> elements have both width and height attributes.