feat(sonar): Initial SonarJS plugin

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 12:25:05 +04:00
parent 570290241d
commit 3a6a1d0c3a
5 changed files with 41 additions and 1 deletions

View File

@@ -340,6 +340,34 @@
- [ ] "detect-pseudoRandomBytes"
- [ ] "detect-unsafe-regex"
## SonarJS
- [ ] "cognitive-complexity"
- [ ] "max-switch-cases"
- [ ] "no-all-duplicated-branches"
- [ ] "no-collapsible-if"
- [ ] "no-collection-size-mischeck"
- [ ] "no-duplicate-string"
- [ ] "no-duplicated-branches"
- [ ] "no-element-overwrite"
- [ ] "no-extra-arguments"
- [ ] "no-identical-conditions"
- [ ] "no-identical-expressions"
- [ ] "no-identical-functions"
- [ ] "no-inverted-boolean-check"
- [ ] "no-one-iteration-loop"
- [ ] "no-redundant-boolean"
- [ ] "no-redundant-jump"
- [ ] "no-same-line-conditional"
- [ ] "no-small-switch"
- [ ] "no-unused-collection"
- [ ] "no-use-of-empty-return-value"
- [ ] "no-useless-catch"
- [ ] "prefer-immediate-return"
- [ ] "prefer-object-literal"
- [ ] "prefer-single-boolean-return"
- [ ] "prefer-while"
## TypeScript
- [ ] "adjacent-overload-signatures"