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.
Settings
Section titled “Settings”| 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. |
Selected when
Section titled “Selected when”gspot selects it in a scope with dependencies @trpc/server.
Rules for coding agents
Section titled “Rules for coding agents”| Rule file | Installed when |
|---|---|
.gspot/configurations/library/trpc/rules/TRPC.md |
Always |