performance/noBarrelFile
performance · since 1.6.0
No autofix
biome.json
{
"linter": {
"rules": {
"performance": {
"noBarrelFile": "error"
}
}
}
}export * from "foo";
export * from "bar";export { foo } from "foo";
export { bar } from "bar";export { default as module1 } from "./module1";export type * from "foo";
export type { foo } from "foo";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/noBarrelFile
performance · since 1.6.0
{
"linter": {
"rules": {
"performance": {
"noBarrelFile": "error"
}
}
}
}Discourages the disabled attribute on form controls and on elements that act as buttons.
Disallow using a Drizzle ORM instance inside its own transaction callback.
Limit how complex selectors can be, and disallow chosen parts of selectors.