SonarSource / SonarJS

SonarSource Static Analyzer for JavaScript and TypeScript
https://community.sonarsource.com/
GNU Lesser General Public License v3.0
1.05k stars 183 forks source link

FP S2187: SonarJS project's S6606 unit test file triggers the rule unexpectedly #4571

Closed ericmorand-sonarsource closed 6 months ago

ericmorand-sonarsource commented 9 months ago

The file packages/jsts/src/rules/S6606/unit.test.ts of our SonarJS project triggers the S2187 rule even though it actually contains test cases.

See: https://next.sonarqube.com/sonarqube/project/issues?issues=5746b5c9-cbdb-4dcc-99ac-be04e97b65f1&open=5746b5c9-cbdb-4dcc-99ac-be04e97b65f1&id=org.sonarsource.javascript%3Ajavascript

Wohops commented 6 months ago

Migrated to Jira. New ticket number: JS-29