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

Upgrade eslint ECMA version to 2022 #18

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Conversation

ptpaterson
Copy link
Contributor

Problem

eslint language version is set to ECMA 2020, which means we cannot use some newer features, such as private fields starting with #.

Solution

Set the language version to ECMA 2022.

Bonus: run npm audit fix

Result

We can use new ECMA features. Node 18 and browsers are still well-supported.

@ptpaterson ptpaterson requested a review from a team December 20, 2024 14:40
@ptpaterson ptpaterson merged commit 8c53555 into main Dec 20, 2024
1 check passed
@ptpaterson ptpaterson deleted the eslint-ecma-version-2022 branch December 20, 2024 15:46
github-actions bot pushed a commit that referenced this pull request Dec 20, 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

Successfully merging this pull request may close these issues.

2 participants