grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
57 stars 31 forks source link

Feat: Support eslint v9 #879

Open mikkancso opened 5 months ago

mikkancso commented 5 months ago

Which areas does this feature request relate to

Problem

I'd like to update eslint to version 9 in my plugin. As the migration guide points out, it uses a new configuration format (config migration guide here). This means that in order to migrate to eslint v9, we'd need to migrate the base eslint config file too (.config/.eslintrc) which is controlled by create-plugin.

Solution

Migrate the base eslint config to the new "flat" config format according to their guide, and provide consumers of create-plugin a migration guide, as well.

Note: I have not fully read the eslint v9 migration guide, so there might be other things to do for a successful migration.

Alternatives

No response

Additional context

No response

Are you interested in contributing the solution?

tolzhabayev commented 5 months ago

Hey @mikkancso we will eventually get to this, but given that there is a bigger migration needed to make this work - we will let this sit for a while until there is a clear benefit of moving to eslint v9

mikkancso commented 1 month ago

@tolzhabayev Are you still planning to get to this eventually? This got closed automatically, so I'm just asking if this is still on your radar (no rush).