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

Update typescript-eslint config #31

Open
DylanSp opened this issue Oct 22, 2023 · 0 comments
Open

Update typescript-eslint config #31

DylanSp opened this issue Oct 22, 2023 · 0 comments

Comments

@DylanSp
Copy link
Owner

DylanSp commented Oct 22, 2023

  1. @typescript-eslint/eslint-plugin and @typescript-eslint/parser need to be upgraded to at least v6 to avoid this error:

DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead
See typescript-eslint/typescript-eslint#7155 (comment).

  1. Starting with v6, typescript-eslint's recommended configuration has changed somewhat; there's also apparently configurations that can leverage type checking that would be worth looking at. See the v6 announcement for details. I probably want to switch from just recommended to recommended-type-checked and stylistic-type-checked (assuming the latter works fine with Prettier).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant