eslint: switch to flat configuration
Eslint 9 uses a new configuration format by default (called "flat configuration"). So this PR would need some config changes before we can upgrade to eslint9.
For Nuxt, some further details are described here: https://eslint.nuxt.com/guide/faq#package-disambiguation https://eslint.nuxt.com/packages/module
And here is a eslint migration guide for the new config format: https://eslint.org/docs/latest/use/configure/migration-guide
Originally posted by @usu in https://github.com/ecamp/ecamp3/issues/5155#issuecomment-2143788406
Also, we shouldn't need to add @typescript-eslint/eslint-plugin to the dev dependencies anymore.
Proposal to resolve this:
- switch to new format for all modules I would do this first, because i did not get the nuxt eslint helper modules to support both
- Update to eslint 9
Core Meeting Decision
- We individually switch the format for each module
- Update to eslint 9