Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FP S2189 (no-infinite-loop ): consider unmodified conditions that are compared #2744

Closed
yassin-kammoun-sonarsource opened this issue Aug 6, 2021 · 1 comment
Labels
jira-import_24-04-2024 The issue have been imported in jira on 24-04-2024 topic: quality type: false positive Issue is reported when it should NOT be

Comments

@yassin-kammoun-sonarsource
Copy link
Contributor

let value = /*... */ ;
while (value < foo()) {
  /* ... */
}

Reported in https://community.sonarsource.com/t/false-positive-for-indefinite-loop-with-multiple-conditions-javascript-s2189/44970/3

@yassin-kammoun-sonarsource yassin-kammoun-sonarsource added the type: false positive Issue is reported when it should NOT be label Aug 6, 2021
@ilia-kebets-sonarsource ilia-kebets-sonarsource changed the title Fix S2189: consider unmodified conditions that are compared Fix FP S2189 (no-infinite-loop ): consider unmodified conditions that are compared Aug 15, 2023
@Wohops Wohops added the jira-import_24-04-2024 The issue have been imported in jira on 24-04-2024 label Apr 24, 2024
@Wohops Wohops closed this as completed Apr 24, 2024
@Wohops
Copy link
Contributor

Wohops commented Apr 24, 2024

Migrated to Jira. New ticket number: JS-128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-import_24-04-2024 The issue have been imported in jira on 24-04-2024 topic: quality type: false positive Issue is reported when it should NOT be
Projects
None yet
Development

No branches or pull requests

2 participants