odota/web

Upgrade TypeScript eslint-plugin and parser

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Yes. it's a eslint issue. An old version of eslint-plugin and parser are being used at the moment. This is the error we could see on VS Code:

Parsing error: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead. eslint

Describe the solution you'd like
Based on this StackOverflow answer, upgrading the following packages should solve the issue:

@typescript-eslint/eslint-plugin
@typescript-eslint/parser

Describe alternatives you've considered
Turning off eslint rule for this specific issue.

Teachability, Documentation, Adoption, Migration Strategy
Upgrading these packages require upgrading/installing some other dependencies. Checkout their documentation here: https://typescript-eslint.io/getting-started

I could have a head start on it and see how far I can go. Will send a PR and link it to this issue.