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
Allow installing together with Stylelint v15 #273
Comments
For those who do not want to wait and can take the risk of things not working together, the version can be overridden in package.json. It seems to be working but there are deprecation warnings as mentioned in linked issue. "overrides": {
"stylelint-config-sass-guidelines": {
"stylelint": "^15.0.0"
}
}, |
The megalinter project, https://GitHub.com/oxsecurity/megalinter that aggregates many linters is affected by this limitation. A npm install --force is used, but seems to break more things than it fixes. Could this be addressed soon ? |
I seem to have the same issue, For some reason the |
v10.0.0 is available now and supports stylelint v15: https://www.npmjs.com/package/stylelint-config-sass-guidelines/v/10.0.0 |
Great work! We'll work on reenabling this tool in the next Megalinter release! |
Stylelint v15 has deprecated many rules (see also #272), but all of them are still included. However, the strict peer dependency check in
npm
doesn't allow installing the lateststylelint-config-sass-guidelines
with Stylelint v15:To at least allow upgrading Stylelint to start using the new rules/fixes, and slowly migrate away from the deprecated rules, could the peer dependency version be changed from
^14.0.1
to^14.0.1 || ^15.0.0
?This could be released as a minor or patch version, while removing deprecated rules like suggested in #272 would be a breaking change.
The text was updated successfully, but these errors were encountered: