Skip to content

Fully support ESLint v10 and officially change the peer dependency range #365

Description

@AlexMan123456

As of now, the package is using v10, and we do allow people to use v10 if they want. However, I can't officially change the peer dependency range to strictly be greater than 10 because of the following packages:

├─┬ eslint-plugin-import 2.32.0
│ └── ✕ unmet peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9": found 10.0.3
├─┬ eslint-plugin-jsx-a11y 6.10.2
│ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9": found 10.0.3
├─┬ eslint-plugin-react 7.37.5
│ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7": found 10.0.3
└─┬ eslint-plugin-react-hooks 7.0.1
  └── ✕ unmet peer eslint@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0": found 10.0.3

All packages actually do work with v10 as is for my use cases, however, since they haven't officially declared support for v10+ yet, we get the above warnings when we try. Once all above packages officially support v10, however, I think we should change our peer dependency range to only allow v10+.

Relevant issues to keep track of:

eslint-plugin-import: import-js/eslint-plugin-import#3227
eslint-plugin-jsx-a11y: jsx-eslint/eslint-plugin-jsx-a11y#1075
eslint-plugin-react: jsx-eslint/eslint-plugin-react#3977
eslint-plugin-react-hooks: react/react#35758

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions