diff --git a/eslint.config.js b/eslint.config.js index 2145363..1710c5b 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -388,7 +388,19 @@ export default typescriptESLint.config( }, ], - "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/no-floating-promises": [ + "error", + { + allowForKnownSafeCalls: [ + { + from: "package", + name: ["it", "describe"], + package: "node:test", + }, + ], + }, + ], + "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-invalid-void-type": "error", "@typescript-eslint/no-misused-new": "error",