-
Notifications
You must be signed in to change notification settings - Fork 30
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
typescript-eslint/no-floating-promises - You have used a rule which requires parserServices to be generated #52
Comments
I can confirm, there is a regression between versions 10.0.0 and 11.0.0 that breaks linting many TypeScript lints in To answer the question: Yes, How to reproduce (almost minimal example):
Content of
Content of
Content of
Content of
|
Did anyone find a workaround to get |
any update on that ? |
For those who have the same problem. I managed to solve this issue with the solution presented in this comment: |
The readme says that we can use any rule in @typescript-eslint/eslint-plugin however when I try using no-floating-promises, I keep getting the following error:
This is what I have in my eslint config file:
I am using vue3/vite with Typescript.
Any other rule that I have used in the past for example:
@typescript-eslint/no-unused-vars
or@typescript-eslint/no-explicit-any
seems to work fine. Is there something special abouttypescript-eslint/no-floating-promises
?Thanks!
The text was updated successfully, but these errors were encountered: