Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uprequire-atomic-updates: document.title (false positive) #1320
Comments
Lonniebiz
changed the title
require-atomic-updates: document.title false positive
require-atomic-updates: document.title (false positive)
Jul 8, 2019
This comment has been minimized.
This comment has been minimized.
|
Sorry, I just realized that didn't post this issue where I intended. I've moved the issue here: |
Lonniebiz
closed this
Jul 8, 2019
This comment has been minimized.
This comment has been minimized.
|
Thanks for moving the issue to the correct repo! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lonniebiz commentedJul 8, 2019
I'm using eslint 6.0.1 and believe I'm getting a false positive for the require-atomic-updates rule. Here's a code sample which reproduces the false-positive:
The line
document.title = "Test";(above) produces this error:However, I noticed that if I change
document.titletowindow.document.titlethe error goes away: