We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@typescript-eslint/no-floating-promises
node:test
1 parent 5e63c17 commit d9733dcCopy full SHA for d9733dc
eslint.config.js
@@ -388,7 +388,19 @@ export default typescriptESLint.config(
388
},
389
],
390
391
- "@typescript-eslint/no-floating-promises": "error",
+ "@typescript-eslint/no-floating-promises": [
392
+ "error",
393
+ {
394
+ allowForKnownSafeCalls: [
395
396
+ from: "package",
397
+ name: ["it", "describe"],
398
+ package: "node:test",
399
+ },
400
+ ],
401
402
403
+
404
"@typescript-eslint/no-for-in-array": "error",
405
"@typescript-eslint/no-invalid-void-type": "error",
406
"@typescript-eslint/no-misused-new": "error",
0 commit comments