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

front: fix missing await statements for asynchronous calls #10242

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Maymanaf
Copy link
Contributor

@Maymanaf Maymanaf commented Jan 6, 2025

No description provided.

@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Jan 6, 2025
{
"files": ["tests/**/*.ts", "tests/**/*.tsx"],
"rules": {
"@typescript-eslint/no-floating-promises": "error"
Copy link
Member

@emersion emersion Jan 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, ideally this rule would be enabled for all files (ref #8772).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's planned soon, I can close this PR, as I noticed there are many errors to address if this rule is applied to all files. Alternatively, we could activate it partially

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emersion is it ok for you if we merge it? it can be set for all files in another PR since you have it in your checklist

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

@Maymanaf Maymanaf marked this pull request as ready for review January 6, 2025 14:53
@Maymanaf Maymanaf requested review from a team as code owners January 6, 2025 14:53
@Maymanaf Maymanaf requested a review from Yohh January 6, 2025 15:56
@Maymanaf Maymanaf self-assigned this Jan 7, 2025
@Maymanaf Maymanaf requested a review from emersion January 8, 2025 11:22
@Maymanaf Maymanaf enabled auto-merge January 8, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants