10.11.0
saberduck
released this
22 Dec 11:46
·
346 commits
to master
since this release
This release
1/ Fail-fast
Misconfigurations now cause analysis failure, this includes missing or incompatible Node.js runtime.
There are also new and more detailed warnings, including new warnings in the UI.
2/ Added support for TypeScript 5.3
3/ Drop support for Node.js v14
4/ Added 5 new adaptability rules:
- S6859: Imports should not use absolute paths
- S6861: Mutable variables should not be exported
- S2187: Test files should contain at least one test case
- S1444: Public "static" fields should be read-only
- S5973: Tests should be stable
What's Changed
- Add rule S6859 (
eslint-plugin-import/no-absolute-path
): Imports should not use absolute paths by @ilia-kebets-sonarsource in #4439 - Create rule S6861 (
eslint-plugin-import/no-mutable-exports
): Mutable variables should not be exported by @yassin-kammoun-sonarsource in #4441 - Create rule S2187: Test files should contain at least one test case by @yassin-kammoun-sonarsource in #4442
- Drop support for Node.js 14 by @saberduck in #4447
- Upgrade TS 5.3 and ESLint by @saberduck in #4451
- Create rule S1444: Public "static" fields should be read-only by @yassin-kammoun-sonarsource in #4453
- Create rule S5973: Tests should be stable by @ilia-kebets-sonarsource in #4443
- Do not fail silently by @vdiez in #4450
- Add documentation on how to write tests for rules depending on
package.json
dependencies by @ilia-kebets-sonarsource in #4454 - Add more analysis warnings by @vdiez in #4455
- Upgrade typescript-eslint by @saberduck in #4452
Full Changelog: 10.10.0.24774...10.11.0.25043
This release will be part of SonarQube 10.4
https://github.com/SonarSource/SonarJS/milestone/83?closed=1