The current JavaScript rule javascript:S3827 flags the commonly available variable globalThis
as unknown. This variable exists at the global scope in all JavaScript implementations. See desciption on MDN for more info.
Colin
(Colin)
September 14, 2022, 8:19am
2
Hey there.
Thanks for the report. I’ve moved your post to the section on reporting false-positives.
Please review the following thread and update your post accordingly:
Hey SonarSource Community!
False-positives happen , as do false-negatives, and we’re eager to fix them. We are thrilled when our users report problems, so we can make our products better.
What is a false-positive (FP)?
A false-positive is when an issue is raised unexpectedly on code that should not trigger an issue, or where the suggested action doesn’t make any sense for the code.
What is a false-negative (FN)?
A false-negative is when an issue should be raised on a piece of code, but isn’t…
Thanks!