We need a new ESLint rule no-multiple-resolved for the eslint-plugin-promise plugin. This rule should warn…
We need a new ESLint rule no-multiple-resolved for the eslint-plugin-promise plugin. This rule should warn…: a task in LegoFlow-SWE (Harbor dataset). Problem When constructing a Promise with new Promise((resolve, reject) = { ... }) , developers sometimes write code where execution can continue and…
The task
**Problem** When constructing a `Promise` with `new Promise((resolve, reject) => { ... })`, developers sometimes write code where execution can continue and call `resolve` or `reject` multiple times. This is problematic because a promise can only be settled once—subsequent calls are silently ignored—and it often…
Part of Lego-X/LegoFlow-SWE.