ecamp3 icon indicating copy to clipboard operation
ecamp3 copied to clipboard

eslint: switch to flat configuration

Open BacLuc opened this issue 1 year ago • 2 comments

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.

BacLuc avatar Jun 02 '24 11:06 BacLuc

Proposal to resolve this:

  1. 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
  2. Update to eslint 9

BacLuc avatar Jun 02 '24 11:06 BacLuc

Core Meeting Decision

  1. We individually switch the format for each module
  2. Update to eslint 9

manuelmeister avatar Jun 04 '24 19:06 manuelmeister