dfinity / eslint-config-oisy-wallet

Shared ESLint configurations from the Oisy Wallet team
Apache License 2.0
2 stars 0 forks source link

feat: Add require-await rule #19

Closed AntonioVentilii-DFINITY closed 1 month ago

AntonioVentilii-DFINITY commented 1 month ago

We introduce require-await rule, that enforce to await async functions.

It is a bit an opinionated: some projects accepts a lot of of async functions that are not awaited, so it become full of exceptions.

But we do it only in a few strategic places.