Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for typescript-eslint v8 #1

Closed
Kenneth-Sills opened this issue Aug 25, 2024 · 1 comment · Fixed by #3
Closed

Add Support for typescript-eslint v8 #1

Kenneth-Sills opened this issue Aug 25, 2024 · 1 comment · Fixed by #3
Assignees
Labels
enhancement New feature or request released

Comments

@Kenneth-Sills
Copy link
Owner

Kenneth-Sills commented Aug 25, 2024

Migrated from upstream issue.


Tomorrow, the ESLint Typescript Plugin's v8 will be released via typescript-eslint/typescript-eslint#9165. The changes for this are described in the prerelease blog post (though that may come to be outdated on release), and we'll need corresponding updates for our users to stay up-to-date.

This WILL be a breaking change due to updates in required rules, the API exposed by the new version (which may break siblings plugins), and the move of all formatting rules to the separate ESLint Stylistic project.

  • Migrate @typescript-eslint/no-throw-literal to @typescript-eslint/only-throw-error.
  • Remove @typescript-eslint/no-loss-of-precision (deprecated TS rule, handled correctly in base ESLint).
  • Remove or replace formatting Rules.
  • Leaving no-unused-vars unchanged should be fine. This would keep us in line with the AirBnB base config and the justification text of the standard makes no indication that caught errors are excluded.

This does NOT address iamturns/eslint-config-airbnb-typescript#331 (supporting ESLint v9), which must still wait for airbnb/javascript#2961. Nor will it add first-class support for flat configuration.

@Kenneth-Sills Kenneth-Sills changed the title Add Support for typescript-eslint v8 Add Support for typescript-eslint v8 Aug 25, 2024
@Kenneth-Sills Kenneth-Sills self-assigned this Aug 25, 2024
@Kenneth-Sills Kenneth-Sills added the enhancement New feature or request label Aug 25, 2024
Copy link

🎉 This issue has been resolved in version 19.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant