github SonarSource/SonarJS
SonarJS 4.1
on GitHub


New release of SonarJS is there! This version brings 7 new rules and many bug fixes (full list of fixed tickets is here).

See some highlights:

  • Support of short fragment syntax of JSX
  • Rules about unused and duplicated imports
  • Some bug detection rules:
    • “Collection elements should not be replaced unconditionally”
    • “Collection sizes and array length comparisons should make sense”
  • A lot of FPs fixed (like #873, #895)
2 years ago