AndyOGo / stylelint-declaration-strict-value

Specify properties for which a variable, function, keyword or value must be used.
MIT License
133 stars 10 forks source link

Update stylelint, its deps and peerDependencies #197

Closed ronilaukkarinen closed 2 years ago

ronilaukkarinen commented 2 years ago

stylelint-declaration-strict-value currently doesn't work for stylelint over 13. This PR fixes this problem:

$ npm install stylelint-declaration-strict-value --save-dev
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: testproject@1.0.0
npm ERR! Found: stylelint@14.0.1
npm ERR! node_modules/stylelint
npm ERR!   dev stylelint@"^14.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer stylelint@">=7 <=13" from stylelint-declaration-strict-value@1.7.12
npm ERR! node_modules/stylelint-declaration-strict-value
npm ERR!   dev stylelint-declaration-strict-value@"*" 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! See /Users/rolle/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/rolle/.npm/_logs/2021-11-04T09_12_15_269Z-debug.log
AndyOGo commented 2 years ago

close in favour of #198

ronilaukkarinen commented 2 years ago

@AndyOGo OK, thanks. I just needed the updated package right away so created a fork and my version of the npm package in the meantime and with the same trouble decided to send a PR. Will change back to your package soon.