fix: allow to ignore floating promise with void operator: @typescript-eslint/no-floating-promises

This commit is contained in:
2024-05-21 19:35:36 +02:00
parent 815518c613
commit 10b5a0d8df
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -140,7 +140,7 @@
"no-useless-return": "error",
"no-else-return": ["error", { "allowElseIf": false }],
"no-var": "error",
"no-void": "error",
"no-void": ["error", { "allowAsStatement": true }],
"no-with": "error",
"object-shorthand": ["error", "properties"],
"one-var": ["error", { "initialized": "never" }],