Skip to content

Commit f7e8a08

Browse files
authored
fix: add eslint ignore to generated trpc helper source (#759)
1 parent 787a244 commit f7e8a08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugins/trpc/src/generator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ function createHelper(outDir: string) {
382382
overwrite: true,
383383
});
384384

385+
sf.addStatements('/* eslint-disable */');
385386
sf.addStatements(`import { TRPCError } from '@trpc/server';`);
386387
sf.addStatements(`import { isPrismaClientKnownRequestError } from '${RUNTIME_PACKAGE}';`);
387388

0 commit comments

Comments
 (0)