grafana/plugin-tools

Feat: Support eslint v9

mikkancso opened this issue · 2 comments

Which areas does this feature request relate to

  • Create Plugin
  • Sign Plugin
  • Plugin E2E
  • Documentation

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?

  • Yes
  • No

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