must-only-re-export
Markdown for agentsRule violations. This text is what archangel docs must-only-re-export prints.
A file in a mustOnlyReExport rule has a top-level statement of its own: a declaration, a type included, or code that runs. It may hold only imports, exports from other files, directives, and export { … } of names it imported.
Example
Section titled “Example”// rule({ files: '**/index.ts', mustOnlyReExport: true })export { a } from './a';export function b() {}What to do
Section titled “What to do”Move the declaration into a file of its own and re-export it from there.