•  
      request #42992 eslint: 8.52.0 -> 9.x
    Infos
    #42992
    Joris MASSON (jmasson)
    2025-07-08 12:06
    2025-05-16 17:09
    44682
    Details
    eslint: 8.52.0 -> 9.x

    This upgrade is going to be a lot of work, because it brings a breaking change for plugins and our configuration. So we need to upgrade each and every plugin to a version that supports eslint v9, and then we will need to rewrite our configuration file to the new "flat config" format.

    Here is a list of our plugins where maintainers have released versions compatible with v9:

    vue-eslint-parser

    Upgrade: [] Support: ☑ https://github.com/vuejs/vue-eslint-parser/releases/tag/v10.0.0

    eslint-plugin-you-dont-need-lodash-underscore

    Upgrade: [] Support: ❌ https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore/issues/396

    We could do the work to contribute the support for flat config & v9, or we could decide to drop this plugin. Usage of lodash has been drastically reduced.

    eslint-plugin-monorepo-cop

    Upgrade: [] Support: ❌ https://github.com/sterlingwes/eslint-plugin-monorepo-cop/issues/9

    We could do the work to contribute the support for flat config & v9, or we need to find an alternative. We still want to forbid relative imports.

    eslint-plugin-no-unsanitized

    Upgrade: [] Support: ☑ https://github.com/mozilla/eslint-plugin-no-unsanitized/commit/d9704a7e402c7f95e31b4f97a8c192afdcfe1994

    eslint-plugin-no-only-tests

    Upgrade: [x] Support ☑

    Release v3.3.0

    eslint-plugin-storybook

    Upgrade: [x] Support ☑ https://github.com/storybookjs/eslint-plugin-storybook/blob/v0.10.0/CHANGELOG.md#v0100-mon-oct-21-2024

    Changelog for v0.12.0

    eslint-plugin-jest

    Upgrade: [x] Support ☑

    eslint-plugin-import

    Upgrade: [x] Support ☑ https://github.com/import-js/eslint-plugin-import/issues/2556

    Changelog for v2.31.0

    eslint-plugin-vue

    Upgrade: [] Support ☑ https://github.com/vuejs/eslint-plugin-vue/issues/1291

    typescript-eslint

    Upgrade: [] Support ☑ https://github.com/typescript-eslint/typescript-eslint/issues/8211

    eslint-plugin-cypress

    Upgrade: [x] Support ☑ https://github.com/cypress-io/eslint-plugin-cypress/issues/146

    eslint-plugin-prettier

    Upgrade: [] Support ☑ https://github.com/prettier/eslint-plugin-prettier/issues/591

    eslint

    Upgrade: [x] 8.52.0 -> 8.57.0

    • Changelog for v8.57.0 - This enables us to upgrade plugins like eslint-plugin-jest that only keep compatibility with the last eslint 8.x version.

    Useful links:

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Under implementation
    Empty
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2025-07-08 12:06
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-07-07 14:27
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-07-07 12:09
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-07-07 09:58
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 18:32

    Tried upgrading typescript-eslint, but it raises a bunch of errors on Vue and Node files. The Vue errors were kind of dubious. The Node ones need fine-tuning the config (or disabling).

    User avatar
    Joris MASSON (jmasson)2025-06-19 18:29
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 18:24
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 18:09
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 18:01
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 17:56
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 17:46
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 17:24
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 17:23
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-19 17:22
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2025-06-19 09:33
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-18 18:28
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2025-06-18 15:39
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-18 12:18
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-18 12:17
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-06-18 09:42
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2025-05-20 11:16
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Joris MASSON (jmasson)2025-05-16 17:14
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes