Closed
Description
Hi!
Just migrated from TSLint to ESLint and I saw that there is no support for tslint-sonarts to eslint-plugin-sonarjs migration.
I want to share a document for the conversions since I already have it and I didn't find any migration documents in the Sonar repos.
Empty row means I didn't find an equivalent new rule.
💥 Missing Converter
tslint-to-eslint-config
version: 2.4.2typescript-eslint
version: 4.24.0
Package Source
NPM: tslint-sonarts
GitHub: tslint-sonarts (Watch out, the default branch is empty, you need to view the latest tag!)
New ESLint Sonar plugin:
NPM: eslint-plugin-sonarjs
GitHub: eslint-plugin-sonarjs
Rules
New rules; don't care about them in this issue, but for the sake of completeness:
- https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-extra-arguments.md
- https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/prefer-object-literal.md
- https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/prefer-single-boolean-return.md
- https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/prefer-while.md