Skip to content

trpc

tRPC routers: every procedure validates its input, and client code imports the server files of trpc.server_files as types only. It requires javascript.

A scope has a dependency on @trpc/server or @trpc/client.

Setting What it sets
trpc.router_files The files that declare tRPC procedures.
trpc.server_files The server files that other files of a tRPC scope may import only as types; empty turns the rule off.
Rule file Installed when
.gspot/rules/TRPC.md Always