-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peer dependency warnings on ESLint v9 #525
Comments
peer dep warnings mean it’s not yet compatible and you shouldn’t yet be trying to install them together. see #376 as well. |
To make it clearer I will add a new issue requesting support of ESLint |
|
I'd like to fix this warning, but it will require a lot of dependency updates as well as a major release to drop old Node versions, so it may not be easy/immediate. This also sounds like more of an issue with incompatibility between TypeScript dependencies than an actual issue with ESLint v9. It's not great, but you may be able to use |
It does seem more of a cosmetic issue, although I didn't dig into whether the TypeScript dependencies break anything in practice. I appreciate that you are tied down with dependencies and breaking changes, so I'm not expecting a quick fix. It's not actually necessary to use I would like to have things clean in CI, i.e. no peer dependency warnings, so I'm going to hold back on installing the |
WorkaroundProvided you don't have npm install eslint-doc-generator --global |
|
Issue
Installing eslint-doc-generator on ESLint
v9
shows peer dependency warningsDesired behavior
Installing the current version of eslint-doc-generator on ESLint
v9
should show no peer dependency warnings.Steps to reproduce
Ubuntu
22.04.4
LTS, Node.js20.12.2
LTSmkdir eslint-doc-gen-test cd eslint-doc-gen-test git init npm init -y npm install eslint@9 eslint-doc-generator@latest --save-dev npm ci
Logs
Environment / versions
22.04.4
LTSv20.12.2
LTSv9.2.0
eslint-doc-generator
1.7.0
Other
[email protected]
depends on"@typescript-eslint/utils": "^5.38.1"
"@typescript-eslint/utils": "^5.38.1"
resolves to@typescript-eslint/[email protected]
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
"eslint": "^8.56.0"
See also
The text was updated successfully, but these errors were encountered: