Prevent .forEach(async code
npm install eslint-plugin-no-async-in-foreach
Prevent .forEach(async code. Inspired by https://github.com/eslint/eslint/issues/16330.
``js``
{
plugins: ['no-async-in-foreach'],
rules: {
'no-async-in-foreach/no-async-in-foreach': 'error'
}
}