complexity/noImportantStyles
complexity · since 2.0.0
Unsafe autofixRecommended
biome.json
{
"linter": {
"rules": {
"complexity": {
"noImportantStyles": "error"
}
}
}
}.style {
color: red !important;
}.style {
color: red;
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
complexity/noImportantStyles
complexity · since 2.0.0
{
"linter": {
"rules": {
"complexity": {
"noImportantStyles": "error"
}
}
}
}Require the TanStack Query QueryClient to be created once, not on every render.
Enforce that onMutate comes before onError and onSettled in the options of TanStack Query mutations.
Disallow the use of undeclared environment variables.
Enforce a consistent property order in the options of TanStack Query infinite query functions.
Require query keys to include every value that the query function uses.