We are happy to announce eslint-plugin-sonarjs 0.2
This version includes 5 new rules:
- Object literal syntax should be used (
prefer-object-literal
) - String literals should not be duplicated (
no-duplicate-string
) - "switch" statements should not have too many "case" clauses (
max-switch-cases
) - "catch" clauses should do more than rethrow (
no-useless-catch
) - Boolean checks should not be inverted (
no-inverted-boolean-check
)
You can find the details of this release in this milestone:
https://github.com/SonarSource/eslint-plugin-sonarjs/milestone/4?closed=1
You can provide any feedback, as usual, on GitHub Issues.