no-default-exports
WarningUse named exports. The rule skips config files and Expo Router routes. Use an ast-grep-ignore comment for any other framework entry point that needs a default export.
export default function Header() {}const client = new ApolloClient({});export default client;export { client as default };export function Header() {}export const client = new ApolloClient({});export { client, cache };export * from "./atoms";How to fix
Write export function Name() or export const name = ....
The rule skips config files and Expo Router routes because their tools require a default export. If another framework entry point needs a default export, add // ast-grep-ignore: no-default-exports-typescript on the line above with the reason.