1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2025-09-11 23:09:27 +02:00

fix: relax @typescript-eslint/no-floating-promises to include more allowForKnownSafeCalls for node:test

Ref: https://github.com/typescript-eslint/typescript-eslint/issues/11372
This commit is contained in:
2025-07-23 12:21:59 +02:00
parent 2876f22947
commit 6a11f2dbf6
3 changed files with 415 additions and 57 deletions

View File

@@ -403,7 +403,7 @@ export default typescriptESLint.config(
allowForKnownSafeCalls: [
{
from: "package",
name: ["it", "describe"],
name: ["test", "it", "suite", "describe"],
package: "node:test",
},
],