TRPC001warningPro
trpc-procedure-no-input
tRPC procedure uses `input` without .input() validation in the chain.
Applies to: TypeScript
Why this matters
Without .input(), tRPC procedures receive `unknown` as the input type. This means no runtime validation and no TypeScript type inference — the exact type safety that tRPC is supposed to provide. Always call .input(schema) before .query() or .mutation() to validate and type inputs.
Catch it before it ships
pip install stablestack # or: npx stablestackstablestack # scans your project, TRPC001 includedstablestack explain TRPC001TRPC001 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.
False positive in your codebase? Suppress a single line with # noqa: TRPC001