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

Consider using no-misused-promises and no-floating-promises ESLint rules #2732

Open
acicovic opened this issue Aug 26, 2024 · 0 comments
Open

Comments

@acicovic
Copy link
Collaborator

Is your feature request related to a problem?

We use promises in our code, and maybe the no-misused-promise and no-floating-promises ESLint rules could be useful for us.

Describe the solution you'd like

Add the above rules to .eslintrc, and see if it would be beneficial to use them.

Additional context

To be added in .eslintrc, under "rules":

"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/no-floating-promises": "error"
@acicovic acicovic added this to the Future Milestone milestone Aug 26, 2024
@acicovic acicovic changed the title Consider using no-misused-promise and no-floating-promises ESLint rules Consider using no-misused-promises and no-floating-promises ESLint rules Aug 26, 2024
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