performance/noNamespaceImport
performance · since 1.6.0
{
"linter": {
"rules": {
"performance": {
"noNamespaceImport": "error"
}
}
}
}import * as foo from "foo";import { foo } from "foo"
import type { bar } from "bar"
import type * as baz from "baz"Examples from the Biome documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
ESLint does not have this rule.
Oxlint does not have this rule.
performance/noNamespaceImport
performance · since 1.6.0
{
"linter": {
"rules": {
"performance": {
"noNamespaceImport": "error"
}
}
}
}Disallow Sass variables and function calls in custom property values without #{} interpolation.
Disallows defining React components inside other components.
Detect return type annotations that are misleadingly wider than what the implementation actually returns.
Disallow disabling zoom with user-scalable=no in the <meta name="viewport"> element.
Flags text nodes with a trailing $ before a JSX expression.