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

This commit is contained in:
theoludwig committed 2024-05-21 19:35:36 +02:00
1 parent 815518c613
commit 10b5a0d8df
3 files changed
+11 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
const returnsPromise = async (): Promise<void> => {}
void returnsPromise()