Tell us about your environment
- ESLint Version: 6.0.1
- Node Version: 12.4.0
- npm Version: 6.9.0
What parser (default, Babel-ESLint, etc.) are you using?
Default
Please show your full configuration:
https://github.com/medikoo/eslint-config-medikoo/blob/master/index.js
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
const fn = async someObj => {
let { foo } = someObj;
await Promise.resolve();
// Possible race condition: `someObj.bar` might be reassigned based on an outdated value of `someObj.bar`
someObj.bar = "whatever";
};
What did you expect to happen?
No error reported
What actually happened? Please include the actual, raw output from ESLint.
Error reported:
Possible race condition: `someObj.bar` might be reassigned based on an outdated value of
Are you willing to submit a pull request to fix this bug?
Not at this point
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Default
Please show your full configuration:
https://github.com/medikoo/eslint-config-medikoo/blob/master/index.js
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
No error reported
What actually happened? Please include the actual, raw output from ESLint.
Error reported:
Are you willing to submit a pull request to fix this bug?
Not at this point