mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
feat(eslint-plugin-router): report imports from used route modules
A route module links into the modules it uses through generated namespaces; its declaration build compiles against stand-ins for their contracts, so a type imported from a used module would be emitted with the stand-in's types. The rule now reports every import from a module listed in `uses` (values, types, re-exports and dynamic imports) and covers `useLinkProps`, `useBlocker`, `notFound` and `createMiddleware`. Package declarations are read once per package.json and revalidated by mtime. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
ec679c132d
commit
3767ebee6a
7 changed files with 237 additions and 36 deletions
Loading…
Add table
Add a link
Reference in a new issue