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

Linting/Build Error #193

Closed
adaptedbee opened this issue Apr 9, 2021 · 8 comments
Closed

Linting/Build Error #193

adaptedbee opened this issue Apr 9, 2021 · 8 comments

Comments

@adaptedbee
Copy link

image
I'm getting error doing linting or building

I guess the problem is: https://stackoverflow.com/questions/59833120/parsing-error-expected-in-import-type, and that syntax is still not supported

@clauderic
Copy link
Owner

Check your version of typescript-eslint, that syntax is supported typescript-eslint/typescript-eslint#1697

@adaptedbee
Copy link
Author

@clauderic I installed the latest version, still the same error

@clauderic
Copy link
Owner

Are you certain your project is failing to compile because of typescript-eslint? Doesn't look like that's necessarily the case from the screenshot you posted above.

@adaptedbee
Copy link
Author

@clauderic
Linter shows multiple errors
image
And no errors after removing the library

@clauderic
Copy link
Owner

What version of typescript do you have in your package.json, yarn.lock / package-lock.json files?

@adaptedbee
Copy link
Author

"typescript": "^3.7.4",

"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",

@clauderic
Copy link
Owner

You have to use typescript^3.8.x

@adaptedbee
Copy link
Author

It looks like it helped, thank you!

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

2 participants