Closed amanmahajan7 closed 2 months ago
@eslint/compat
https://eslint.org/blog/2024/04/eslint-v9.0.0-released/ https://eslint.org/docs/latest/use/migrate-to-9.0.0 https://eslint.org/docs/latest/use/configure/migration-guide https://github.com/SonarSource/eslint-plugin-sonarjs/releases
Deprecated formatting rules https://eslint.org/blog/2023/10/deprecating-formatting-rules/#the-deprecated-rules
Updates to existing rules https://eslint.org/blog/2024/04/eslint-v9.0.0-released/#updates-to-existing-rules
Noteworthy
@typescript-eslint/no-unused-vars
caughtErrors: 'all'
no-useless-computed-key
enforceForClassMembers: true
no-fallthrough
reportUnusedFallthroughComment: true
@eslint/compat
for incompatible pluginshttps://eslint.org/blog/2024/04/eslint-v9.0.0-released/ https://eslint.org/docs/latest/use/migrate-to-9.0.0 https://eslint.org/docs/latest/use/configure/migration-guide https://github.com/SonarSource/eslint-plugin-sonarjs/releases
Deprecated formatting rules https://eslint.org/blog/2023/10/deprecating-formatting-rules/#the-deprecated-rules
Updates to existing rules https://eslint.org/blog/2024/04/eslint-v9.0.0-released/#updates-to-existing-rules
Noteworthy
@typescript-eslint/no-unused-vars
:caughtErrors: 'all'
is the defaultno-useless-computed-key
:enforceForClassMembers: true
is the defaultno-fallthrough
: AddedreportUnusedFallthroughComment: true