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

Adjust test suite to be compatible with ESLint 9 #388

Merged
merged 3 commits into from
Jun 13, 2024
Merged

Conversation

Turbo87
Copy link
Owner

@Turbo87 Turbo87 commented Jun 13, 2024

ESLint 9 moved the ecmaVersion property from the parserOptions object to a new languageOptions object. In this PR we extract an ecmaVersion() function that automatically returns the right thing based on version in the eslint/package.json file.

This allows the spread operator (e.g. `...foo`) and is supported by all of the currently supported Node.js versions.
@Turbo87 Turbo87 merged commit 9957878 into master Jun 13, 2024
11 checks passed
@Turbo87 Turbo87 deleted the eslint-options branch June 13, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant