github SonarSource/SonarJS 13.2.0.43154

4 hours ago

Release notes - SonarJS - 13.2

Feature

JS-1597 Identify generated JS/TS files via generator tooling and filter only non-relevant rules
JS-1934 S5976: Similar tests should be grouped in a single Parameterized test
JS-1957 S8959: UI test debug commands should not be used
JS-1958 S2925: Keep only fixed waits in tests
JS-1961 S6479: fix false positives on static lists and improve description accuracy
JS-1964 S8967: Inline snapshots should not contain interpolations
JS-1971 S8785: extend detection to synchronous describe calling an unawaited async helper
JS-1984 Improve S6819 description: document exceptions, fix misleading "why" section, add per-role message caveats

False Positive

JS-1781 Fix FP on S6819: ARIA roles on custom composite widgets and selection components
JS-1908 Fix FP on S7766: Fix S7766: false positive when comparing Date values in an Array.reduce callback
JS-1942 S6582: Fix false positive when both comparison sides are nullable, lower rule severity
JS-1946 Fix FP on S6759: S6759 should not report non-React TSX components
JS-1963 Fix FP on S2871: comparison-only default sorts used for order normalization
JS-1983 Fix FP on S6819: role="group" on non-form logical groupings flagged incorrectly

Bug

JS-1994 S8780: false positive when async assertion is used alongside a done callback

Don't miss a new SonarJS release

NewReleases is sending notifications on new releases.