javierbrea / eslint-plugin-boundaries

Eslint plugin checking architecture boundaries between elements
MIT License
473 stars 9 forks source link

Eslint 9 support #329

Open budarin opened 1 month ago

budarin commented 1 month ago

Compatibility with ESLint 9 is required

javierbrea commented 1 month ago

Given the amount of breaking changes in eslint v9, there are many packages that haven't implemented official support for it yet. This includes some packages being dependency or devDependency of this one.

For example, @typescript/eslint-plugin don't support v9 officially yet

I'm thinking about trying to publish a new major beta version with support for v9 to ensure that it works before declaring a major formal release. After some time, after checking its stability and updating dependencies while they also adapt to this change, then we will give official support and publish a stable major version.

javierbrea commented 1 month ago

Meanwhile, I'll leave the issue open for tracking the publication of the beta version @budarin . Thanks for opening it, by the way!

javierbrea commented 1 week ago

I have just released the v5.0.0-beta.0, which already supports eslint v9.

Even when it seems that everything works in tests, I will keep it in beta version until some dependencies also support it officially, just to ensure that everything works as expected in all the examples in the documentation, specially those related to the presets exported by this plugin, and to the TypeScript usage.

Specifically, it is required to stay up to date about the progress of next issues in other projects:

Meanwhile, the code of the beta version supporting eslint v9 will be maintained in the release-eslint-v9 branch. The pending tasks, such as modify all examples to adapt them to the new eslint format will be progressively added to that branch until it is definitively merged and a stable release is published. So, I will keep this issue open until then.