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"
}
}
}
}Disallow loading every result of a Convex database query with .collect().
Disallow importing Node.js runtime files from Convex runtime files.
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.