What's Changed
- Add support for Sass syntax by @yassin-kammoun-sonarsource in #4306
- Tag RSPECs of JS/TS rules relying on type information by @yassin-kammoun-sonarsource in #4309
- Create rule S6836: "case" and "default" clauses should not contain lexical declarations by @yassin-kammoun-sonarsource in #4312
- Improve logging of JavaScript files type-checking in SonarLint context by @yassin-kammoun-sonarsource in #4311
- Improve S6544 (
no-misused-promises
): Report on the function's main token by @yassin-kammoun-sonarsource in #4313 - Only accept supported web languages for CSS analysis (and activate SASS by default) by @ilia-kebets-sonarsource in #4308
- Optimize plugin download on SonarCloud by @saberduck in #4314
- Ignore file size limits for CSS by @ilia-kebets-sonarsource in #4316
- Fix project size calculation for JavaScript type-checking in SonarLint context by @yassin-kammoun-sonarsource in #4317
- Fix FP S3800 (
function-return-type
): Make the exception of returning at least onethis
instead of allthis
by @ilia-kebets-sonarsource in #4320 - Fix FP S138 (
sonar-max-lines-per-function
): Ignore React Functional Components implemented as arrow function by @ilia-kebets-sonarsource in #4318 - Fix FP S4662 (
at-rule-no-unknown
): Ignore "@contain" by default by @yassin-kammoun-sonarsource in #4319 - Improve S6478 (
no-unstable-nested-components
): Replace message and refine location by @yassin-kammoun-sonarsource in #4323 - Fix FP S4023 (
no-empty-interface
): Ignore when extending external interfaces by @yassin-kammoun-sonarsource in #4326 - New implementation of S109
sonar-no-magic-numbers
by @saberduck in #4324 - Improve S4156 (
prefer-namespace-keyword
): Report on the "module" keyword by @yassin-kammoun-sonarsource in #4329 - Deprecate Node.js 16 by @saberduck in #4325
- Improve S5869 (
duplicates-in-character-class
): Mention character class escapes by @yassin-kammoun-sonarsource in #4331 - Fix FP S2699 (
assertions-in-tests
): add support forvitest
library by @ilia-kebets-sonarsource in #4335 - Upgrade embedded Node.js runtime to 20.9.0 by @ilia-kebets-sonarsource in #4333
- Fix regex-related rules: Skip issues with inconsistent locations by @vdiez in #4337
- Create rule CSS:S125: Sections of code should not be commented out by @yassin-kammoun-sonarsource in #4338
- Update eslint-plugin-sonarjs to v0.22.0 by @vdiez in #4347
Milestone: https://github.com/SonarSource/SonarJS/milestone/81?closed=1