9.2.0
·
1228 commits
to master
since this release
In this release, we now explicitly require Node.js 12.22.0 as a minimum for CSS, JavaScript, and TypeScript analysis. Previously, we only considered the major version of Node.js. We also upgraded Stylelint dependency and updated the configuration of a few rules on the same occasion. A consequence of this upgrade is introducing a custom implementation of S5362 and the activation of S4650 in the default profile, which used to overlap with one another. Finally, we improved the behavior of a few JavaScript and TypeScript rules.
CSS
- Update Stylelint to 14.6.1 (#3089)
- Update S4649 ('font-family-no-missing-generic-family-keyword'): support 'ignoreFontFamilies' option (#3095)
- Update S4653 ('unit-no-unknown'): Drop obsolete hardcoded configuration (#3108)
- Update S4662 ('at-rule-no-unknown'): Ignore TailwindCSS main directives by default (#3107)
- Fix FP S4660 ('selector-pseudo-element-no-unknown'): Ignore Blazor '::deep' combinator (#3096)
- Fix FP S4662 ('at-rule-no-unknown'): Ignore Sass forward rule (#3094)
- Activate S4650 ('function-calc-no-unspaced-operator') in default profile (#3106)
JavaScript / TypeScript
- Improve S100 ('function-name'): Ignore React Functional Components (#3109)
- Improve S138 ('sonar-max-lines-per-function'): Ignore React Functional Components (#3104)
- Improve S4328 ('no-implicit-dependencies'): Consider 'baseUrl' (#3087)
- Improve S4328 ('no-implicit-dependencies'): Check package.json files in all levels up (#3102)
Miscellaneous
- Require Node.js 12.22.0 (#3111)
Part of SonarQube 9.5