In this release, we have added 2 new rules and did some hardening. We also updated some major dependencies.
CSS
- Fix FP S4650 ('function-calc-no-unspaced-operator'): should allow missing spaces around '*' and '/' operators (#3098)
- Support "display-mode" media query in S4661 (#3137)
- Upgrade stylelint to 14.8.4 (#3149)
JS/TS
- Add S4036 ('no-os-command-from-path'): Searching OS commands in PATH is security-sensitive (#2036)
- Add S6426 ('no-exclusive-tests'): Exclusive tests should not be commited to version control (#2861)
- Exclude JavaScript require statements from copy-paste detection (#2971)
- Fix FP S1128 ('unused-import'): Generalize imports matching kebab case references (#3125)
- Fix FP S1172 ('no-unused-function-argument'): Ignore 'this' parameters (#3114)
- Fix FP S1186 ('no-empty-function'): Ignore private constructors (#3115)
- Fix FP S3001 ('no-delete-var'): Ignore object optional properties (#2994)
- Fix FP S3403 ('different-types-comparison'): Symbols should be comparable (#3132)
- Remove spaces from the default value of JavaScript execution environments (#2632)
- S3504 ('no-var') should be part of SonarWay profile (#3101)
- Upgrade ESLint to 8.16.0 and TypeScript ESLint to 5.26.0 (#3150)
Docs
- Update docs - add Angular to supported frameworks (#3128)