Skip to content

trpc

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

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.

gspot selects it in a scope with dependencies @trpc/server.

Rule file Installed when
.gspot/configurations/library/trpc/rules/TRPC.md Always