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

ESLint v9 backwards-compatible support #140

Merged
merged 9 commits into from
Apr 27, 2024
Merged

Conversation

joshwilsonvu
Copy link
Collaborator

@joshwilsonvu joshwilsonvu commented Apr 14, 2024

As far as I can tell from all of test tests, this PR brings eslint-plugin-solid up to speed with the breaking changes in ESLint v9, while retaining backwards compatibility with ESLint down to at least v6.

The backwards compatibility was for the most part, building helper functions in compat.ts to bridge the gaps between different versions of the context object. Setting up tests that covered both legacy and flat config and dealt with type issues was harder.

Major changes:

  • Migrate from Jest to Vitest
  • Drop Node 16 in tests

@joshwilsonvu joshwilsonvu marked this pull request as ready for review April 27, 2024 22:13
@joshwilsonvu joshwilsonvu merged commit 1943297 into main Apr 27, 2024
6 checks passed
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.

1 participant