Enable the no-async-promise-executor
ESLint rule
This rule is in the process of being rolled out in mozilla-central, and it helps avoid unnecessary `async` functions together with `new Promise(...)`. Please see https://eslint.org/docs/rules/no-async-promise-executor for additional information.
This commit is contained in:
parent
4fa60f006b
commit
2351fee957
Loading…
Reference in New Issue
Block a user