10.12.0
ericmorand-sonarsource
released this
13 Feb 13:42
·
325 commits
to master
since this release
This release
Improve Top Dismissed JS/TS Rules (https://sonarsource.atlassian.net/browse/MMF-2934)
What's Changed
- Allow minimatch to match hidden folders by @vdiez in #4502
- Improve S4123 (
no-invalid-await
): Improve documentation about edge cases and add test to confirm that S4123 honours JSDoc directives by @ericmorand-sonarsource in #4538 - Fix FP S6594 (
sonar-prefer-regexp-exec
): Ignore match count use case by @yassin-kammoun-sonarsource in #4540 - Fix FP S2871 (
no-alphabetical-sort
): Rework the rule to emit a dedicated message for arrays of strings by @ericmorand-sonarsource in #4539 - Fix FP S4323 (
use-type-alias
): Ignore nullable types by @yassin-kammoun-sonarsource in #4543 - Fix FP S4123 (
no-invalid-await
): Ignore function calls for functions whose definition have JSdoc with areturns
tag by @ilia-kebets-sonarsource in #4544 - Fix FP S3800 (
function-return-type
): Exception for sanitation functions by @ericmorand-sonarsource in #4548 - Fix FP S1848 (
constructor-for-side-effects
): Make exception for AWS CDK resources by @yassin-kammoun-sonarsource in #4554 - Fix S6661 (
prefer-object-spread
): Disable for projects that don't support the object spread syntax and improve rule description by @ilia-kebets-sonarsource in #4552 - Fix FP S6479 (
no-array-index-key
) - Allow keys combining index and other values by @ericmorand-sonarsource in #4556 - Fix FP S6647 (
no-useless-constructor
): Ignore decorated classes and classes inheriting protected constructors by @yassin-kammoun-sonarsource in #4546 - Fix FP S1186 (
no-empty-function
): Ignore noop-like functions, arrows, and constructors by @yassin-kammoun-sonarsource in #4557 - Add rule S2004: Functions should not be nested too deeply by @yassin-kammoun-sonarsource in #4559
- Fix FP S6582 (
prefer-optional-chain
): Update description and severity by @yassin-kammoun-sonarsource in #4562 - Fix FP S6544 (
no-misused-promises
) - Set checkVoidReturn.arguments=false by @ericmorand-sonarsource in #4561 - Fix FP S3776 (
cognitive-complexity
): Ignore nested functions and default values by @yassin-kammoun-sonarsource in #4566 - Improve S2004 (
no-nested-functions
): Increase default threshold to four nested functions by @yassin-kammoun-sonarsource in #4570 - Fix FP S6606 (
prefer-nullish-coalescing
): When the first argument s boolean | undefined by @ericmorand-sonarsource in #4565
New Contributors
- @ericmorand-sonarsource made their first contribution in #4538
Full Changelog: 10.11.1.25225...10.12.0.25537
This release will be part of SonarQube 10.5
https://github.com/SonarSource/SonarJS/milestone/84?closed=1