This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
SonarTS 1.9
·
42 commits
to master
since this release
We are happy to announce SonarTS 1.9
This version includes:
- 9 new rules
- Empty collections should not be accessed or iterated (
no-empty-array
) - Promise rejections should not be caught by 'try' block (
no-try-promise
) - Parameters should be passed in the correct order (
arguments-order
) - Optional boolean parameters should have default value (
bool-param-default
) - "switch" statements should not have too many "case" clauses (
max-switch-cases
) - A compare function should be provided when using "Array.prototype.sort()" (
no-alphabetical-sort
) - "switch" statements should not be nested (
no-nested-switch
) - "catch" clauses should do more than rethrow (
no-useless-catch
) - Type guards should be used (
prefer-type-guard
)
- Empty collections should not be accessed or iterated (
- Some bug fixes to existing rules
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.