1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2025-05-18 12:02:33 +02:00

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

This commit is contained in:
2024-05-21 17:53:33 +02:00
parent 815518c613
commit 10b5a0d8df
3 changed files with 11 additions and 1 deletions

View File

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