Files
piratepoet/eslint-config
Jan Jakes 8405659d07 Disable "no-void" rule for TS as it can conflict with "no-floating-promises"
When one needs to ignore promise result (for instance in a useEffect React hook), the
"@typescript-eslint/no-floating-promises" will enforce it's ignored using "void doSomething()"
but the "no-void" rule disables that. It's probably better to keep "no-floating-promises" so
that we mark ignored promise results explicitly with "void".

[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
..