nodaguti/stylelint-no-unused-selectors

Peer dependency update to stylelint v14.2.0

Opened this issue · 6 comments

When I try to install stylelint-no-unused-selectors I got the following issue:

npm ERR! Found: stylelint@14.2.0
npm ERR! node_modules/stylelint
npm ERR!   dev stylelint@"^14.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer stylelint@"^9.10.1 || ^10.0.0" from stylelint-no-unused-selectors@1.0.40

I guess the peer dependency of the module should be upgraded to the latest stylelint version: 14.2.0

+1

Try npm i -D stylelint-no-unused-selectors -f @gamegee @ghost

kkor commented

Doesn't seem to work with v14.2.0 or higher at all (the errors just don't print), but at least 13.13.1 still works and prints the plugin/no-unused-selectors errors

Grawl commented
modsketch-next on  main [✘»!+] is 📦 v0.1.0 via  v18.17.0 
❯ npm i -D stylelint-no-unused-selectors                 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: modsketch-next@0.1.0
npm ERR! Found: stylelint@15.10.3
npm ERR! node_modules/stylelint
npm ERR!   dev stylelint@"^15.10.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer stylelint@"^9.10.1 || ^10.0.0" from stylelint-no-unused-selectors@1.0.40
npm ERR! node_modules/stylelint-no-unused-selectors
npm ERR!   dev stylelint-no-unused-selectors@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /Users/daniilpronin/.npm/_logs/2023-09-05T07_37_24_567Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/daniilpronin/.npm/_logs/2023-09-05T07_37_24_567Z-debug-0.log

Ping.
Unmaintained?
We'd like to use it with stylelint@15.10.3