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.
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 thecontext
object. Setting up tests that covered both legacy and flat config and dealt with type issues was harder.Major changes: