eslint-plugin-no-async-in-foreach
Prevent .forEach(async
code. Inspired by https://github.com/eslint/eslint/issues/16330.
Usage
{
plugins: ['no-async-in-foreach'],
rules: {
'no-async-in-foreach/no-async-in-foreach': 'error'
}
}
Prevent .forEach(async
code. Inspired by https://github.com/eslint/eslint/issues/16330.
{
plugins: ['no-async-in-foreach'],
rules: {
'no-async-in-foreach/no-async-in-foreach': 'error'
}
}
npm i eslint-plugin-no-async-in-foreach
2,863
1.1.3
MIT
6.06 kB
5