mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2026-04-13 14:31:05 +02:00
fix: allow to ignore floating promise with void operator: @typescript-eslint/no-floating-promises
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
const returnsPromise = async (): Promise<void> => {}
|
||||
|
||||
void returnsPromise()
|
||||
Reference in New Issue
Block a user