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

Fix ESLint warning #1335

Merged
merged 2 commits into from
Sep 7, 2024
Merged

Fix ESLint warning #1335

merged 2 commits into from
Sep 7, 2024

Conversation

stof
Copy link
Member

@stof stof commented Sep 7, 2024

This configures our CI to enforce fixing ESLint warnings and not just errors.
The only warning that was reported (since #1331) is solved by simplifying the code (removing the function that was keeping a closure on the browser mutable variable)

The promise returned by `requestTestPage` already covers waiting for the
end of async callback.
Many of our ESLint rules are configured as warning rather than errors
due to the level used in the imported configuration, but we still want
to enforce them.
@stof stof requested a review from Kocal September 7, 2024 16:39
Copy link
Contributor

@Kocal Kocal left a comment

Choose a reason for hiding this comment

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

Thanks!

@stof stof merged commit 68ce205 into symfony:main Sep 7, 2024
28 checks passed
@stof stof deleted the fix_eslint_warning branch September 7, 2024 18:41
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

Successfully merging this pull request may close these issues.

2 participants