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.
Require TanStack Query options to be created with queryOptions().
Disallow the use of undeclared environment variables.
Enforce that onMutate comes before onError and onSettled in the options of TanStack Query mutations.
Enforce a consistent property order in the options of TanStack Query infinite query functions.