Open
Description
no-unused-vars is not useful for files that are re-importing a global type from one app/package to another. For example this file which has this content:
src/types/PrisnaJson.d.ts
:
// This brings PrismaJson into global scope
import type * as PrismaJson from '@watch-party/orm/types/PrismaJson' // eslint-disable-line @typescript-eslint/no-unused-vars
Can we disable that rule just for .d.ts files?
Metadata
Metadata
Assignees
Labels
No labels