Static code analyzer for TypeScript
The SonarJS analyzer now provides analysis for both JavaScript and TypeScript code. This release disables TypeScript analysis, so that TypeScript code can now be analyzed by the JavaScript and TypeScript analyzer.
We are happy to announce SonarTS 1.9
This version includes:
no-empty-array
)no-try-promise
)arguments-order
)bool-param-default
)max-switch-cases
)no-alphabetical-sort
)no-nested-switch
)no-useless-catch
)prefer-type-guard
)You can find the details of this release in this milestone: https://github.com/SonarSource/SonarTS/milestone/15?closed=1
You can provide any feedback, as usual, on GitHub Issues.
We are happy to announce SonarTS 1.8
This version includes:
no-invariant-return
)no-collapsible-if
)no-inverted-boolean-check
)prefer-optional
)For SonarQube users the version contains:
tsconfig.json
file is missingSonarTS documentation
)You can find the details of this release in this milestone: https://github.com/SonarSource/SonarTS/milestone/14?closed=1
You can provide any feedback, as usual, on GitHub Issues.
We are happy to announce SonarTS 1.7
This version includes new rules and ability to import TSLint and ESLint issues reports into SonarQube (example project).
You can find the details of this release in this milestone: https://github.com/SonarSource/SonarTS/milestone/13?closed=1
You can provide any feedback, as usual, on GitHub Issues.
We are happy to announce SonarTS 1.6
This version includes 9 new rules:
no-duplicate-string
)no-hardcoded-credentials
)no-small-switch
)no-redundant-boolean
)no-extra-semicolon
)no-nested-incdec
)no-big-function
)no-statements-same-line
)parameters-max-number
)For SonarQube users the version contains even more rules:
You can find the details of this release in this milestone: https://github.com/SonarSource/SonarTS/milestone/10?closed=1
You can provide any feedback, as usual, on GitHub Issues.
We are happy to announce SonarTS 1.4.0 (New Year Edition ? ).
This version includes 4 new rules:
no-commented-code
)use-primitive-type
)no-case-with-or
)prefer-immediate-return
)For SonarQube users the version contains new features:
You can find the details of this release in this milestone: https://github.com/SonarSource/SonarTS/milestone/9?closed=1
You can provide any feedback, as usual, on GitHub Issues.
This version brings support for TypeScript analysis in SonarLint VS Code extension.
Stay tuned for the SonarLint VS Code extension update, which will follow soon. This extension provides code linting while you code, including type-checking rules!
Fix of support for Node 6 (#432)
:exclamation: Release was done only for SonarTS SQ plugin (no new version for SonarTS for TSLint as this bug doesn't affect it)
See 1.3.0-RC for details
We are starting the feedback period for SonarTS 1.3.0.
This version includes both the Cognitive Complexity metric (#100) and McCabe's Cyclomatic Complexity metric (#99), along with the related rules.
Another rule to help newcomers (#281) to TypeScript, some rules improvements and a bugfix complete this release.
To try this RC with TSLint just npm install --dev [email protected]
To try the RC in SonarQube install the attached jar.
The feedback period is open until Tuesday 26th :santa:
You can provide any feedback, as usual, on GitHub Issues.