CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Stylelint-config: Add stylelint-scss as a peer dependency #69685
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
Stylelint-config: Add stylelint-scss as a peer dependency #69685
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
"peerDependencies": { | ||
"stylelint": "^16.8.2" | ||
"stylelint": "^16.8.2", | ||
"stylelint-scss": "^6.4.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SainathPoojary, how did you choose this version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Mamaduka,
I chose ^6.4.0
for stylelint-scss
based on the version already used in the package-lock.json, where itβs pulled in as a dependency of stylelint-config-recommended-scss.
It was using "stylelint-scss": "^6.4.0"
as it's dependency
"packages/stylelint-config/node_modules/stylelint-config-recommended-scss": {
"version": "14.1.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-14.1.0.tgz",
"integrity": "sha512-bhaMhh1u5dQqSsf6ri2GVWWQW5iUjBYgcHkh7SgDDn92ijoItC/cfO/W+fpXshgTQWhwFkP1rVcewcv4jaftRg==",
"dependencies": {
"postcss-scss": "^4.0.9",
"stylelint-config-recommended": "^14.0.1",
"stylelint-scss": "^6.4.0"
},
"engines": {
"node": ">=18.12.0"
},
"peerDependencies": {
"postcss": "^8.3.3",
"stylelint": "^16.6.1"
},
"peerDependenciesMeta": {
"postcss": {
"optional": true
}
}
},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarifications, @SainathPoojary!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @SainathPoojary!
β¦69685) * Stylelint-config: Add stylelint-scss as a peer dependency * Stylelint-config: Update package-lock.json Co-authored-by: SainathPoojary <sainathpoojary@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: anomiex <bjorsch@git.wordpress.org>
What?
Closes #69684
PR adds missing dependencies for the @wordpress/stylelint-scss package.
Testing Instructions
Verify that the change makes sense.