require-atomic-updates reports false positive when the assigned variable is used in a lambda and function call #11959
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
question
This issue asks a question about ESLint
Tell us about your environment
I've built a simple example in ESLint Demo, my configuration is included in it.
6.0.1
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration:
Configuration
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?
Pass without error
What actually happened? Please include the actual, raw output from ESLint.
Possible race condition:
a
might be reassigned based on an outdated value ofa
.The text was updated successfully, but these errors were encountered: