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

Set ESLint ECMAScript version to 2022 #15165

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

hasezoey
Copy link
Collaborator

@hasezoey hasezoey commented Jan 8, 2025

Summary

This PR sets ESLint's parser's ECMAScript version to 2022, which is a version the targeted nodejs (16.20) supports, and could cause problems like in #15163

to support syntax of the nodejs version we target
@hasezoey hasezoey added the developer-experience This issue improves error messages, debugging, or reporting label Jan 8, 2025
@hasezoey hasezoey requested a review from vkarpov15 January 8, 2025 13:16
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 merged commit 81e1bbb into Automattic:8.10 Jan 8, 2025
@vkarpov15 vkarpov15 modified the milestones: 8.9.4, 8.10 Jan 8, 2025
@hasezoey hasezoey deleted the eslintEcma branch January 9, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-experience This issue improves error messages, debugging, or reporting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants