-
Notifications
You must be signed in to change notification settings - Fork 404
Closed
Description
Part of #1004
https://typescript-eslint.io/rules/no-require-imports
Ignoring the .js scripts, there are 3 call sites in TypeScript:
-
import cors = require("@koa/cors"); -
cosmjs/packages/crypto/src/random.ts
Lines 17 to 20 in d708b6a
} catch { try { // eslint-disable-next-line @typescript-eslint/no-var-requires const crypto = require("crypto"); -
cosmjs/packages/socket/src/reconnectingsocket.spec.ts
Lines 11 to 13 in d708b6a
try { // eslint-disable-next-line @typescript-eslint/no-var-requires exec = require("child_process").exec;
Are these absolutely needed?
Metadata
Metadata
Assignees
Labels
No labels