What's Changed
- Prepare next development iteration by @saberduck in #4023
- Add rule S6653 (
prefer-object-has-own
): Use Object.hasOwn static method instead of hasOwnProperty by @alexander-kamushkin-sonarsource in #4018 - Add rule S6660 (
no-lonely-if
):If
statements should not be the only statement inelse
blocks by @alexander-kamushkin-sonarsource in #4022 - Upgrade sonar-lits-plugin to 0.11.0.2659 by @Godin in #4017
- Add rule S6661 (
prefer-object-spread
): Object spread syntax should be used instead ofObject.assign
by @alexander-kamushkin-sonarsource in #4024 - Update ruling results formatting due to sonar-lits-plugin change by @alexander-kamushkin-sonarsource in #4026
- Add rule S6666 (
prefer-spread
): Spread syntax should be used instead of apply() by @alexander-kamushkin-sonarsource in #4029 - Add rule S6671 (
prefer-promise-reject-errors
): Literals should not be used for promise rejection by @alexander-kamushkin-sonarsource in #4030 - Add rule S1199 (
no-lone-block
): Nested code blocks should not be used by @alexander-kamushkin-sonarsource in #4032 - Add rule S6676 (
no-useless-call
): Calls to .call() and .apply() methods should not be redundant by @alexander-kamushkin-sonarsource in #4033 - Add rule S1068 (
no-unused-private-class-members
): Unused private class members should be removed by @alexander-kamushkin-sonarsource in #4034 - Update "submit review" and "request review" actions to work for projectsV2 by @ilia-kebets-sonarsource in #4012
- Update S1523 (
code-eval
): merge ESLintno-script-url
by @alexander-kamushkin-sonarsource in #4037 - Add rule S6679 (
no-self-compare
):Number.isNaN()
should be used to check forNaN
value by @alexander-kamushkin-sonarsource in #4040 - Update rule descriptions after migration to LAYC by @victor-diez-sonarsource in #4041
- Actions point to production branch by @ilia-kebets-sonarsource in #4039
- Update S1192 (
no-duplicate-string
): AddignoreStrings
rule property by @yassin-kammoun-sonarsource in #3959 - Update rule metadata by @yassin-kammoun-sonarsource in #4044
Full Changelog: 10.3.2.22047...10.4.0.22160
Part of SonarQube 10.2