You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@typescript-eslint/utils is a dependency of eslint-plugin-solid and has typescript peer dependency. package.json of eslint-plugin-solid must also include typescript peer dependency because it's a transitive peer dependency.
To Reproduce
yarn init -y
yarn set version berry
yarn add -D eslint typescript eslint-plugin-solid
(optional) yarn explain peer-requirements and see logs
pcc27b → ✘ eslint-plugin-solid@npm:0.14.4 [3223e] doesn't provide typescript to @typescript-eslint/utils@npm:8.15.0 [e3d25] and 2 other dependencies
(detailed) yarn explain peer-requirements pcc27b and see logs
eslint-plugin-solid@npm:0.14.4 [3223e]└─ @typescript-eslint/utils@npm:8.15.0 [e3d25] (via *) └─ @typescript-eslint/typescript-estree@npm:8.15.0 [0f560] (via *) └─ ts-api-utils@npm:1.3.0 [37728] (via >=4.2.0)✘ Package eslint-plugin-solid@npm:0.14.4 [3223e] does not provide typescript.
Expected behavior
No warning on logs
Environment (please complete the following information):
OS: [e.g. Mac OS 11, Windows 10]
Node version (node --version): 22.11.0
eslint-plugin-solid version (npm list eslint-plugin-solid/yarn why eslint-plugin-solid): 0.14.4
eslint version (npm list eslint/yarn why eslint): 9.15.0
Additional context
I would be willing to contribute a PR to fix this issue
Describe the bug
@typescript-eslint/utils
is a dependency ofeslint-plugin-solid
and hastypescript
peer dependency.package.json of
eslint-plugin-solid
must also includetypescript
peer dependency because it's a transitive peer dependency.To Reproduce
yarn init -y
yarn set version berry
yarn add -D eslint typescript eslint-plugin-solid
yarn explain peer-requirements
and see logspcc27b → ✘ eslint-plugin-solid@npm:0.14.4 [3223e] doesn't provide typescript to @typescript-eslint/utils@npm:8.15.0 [e3d25] and 2 other dependencies
yarn explain peer-requirements pcc27b
and see logsExpected behavior
No warning on logs
Environment (please complete the following information):
node --version
): 22.11.0eslint-plugin-solid
version (npm list eslint-plugin-solid
/yarn why eslint-plugin-solid
): 0.14.4eslint
version (npm list eslint
/yarn why eslint
): 9.15.0Additional context
Workaround
.yarnrc.yml
The text was updated successfully, but these errors were encountered: