Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

fix: rename deprecated declaration-property-unit-whitelist rule #267

Conversation

SergiuNegara
Copy link
Contributor

@SergiuNegara SergiuNegara commented Sep 2, 2020

The rule declaration-property-unit-whitelist has been deprecated in stylelint 13.7.0 and renamed to declaration-property-unit-allowed-list

https://github.com/stylelint/stylelint/blob/13.7.0/lib/rules/declaration-property-unit-whitelist/README.md

This fixes #266

@SergiuNegara SergiuNegara marked this pull request as draft September 2, 2020 23:46
@SergiuNegara SergiuNegara marked this pull request as ready for review September 2, 2020 23:47
Copy link
Member

@ntwb ntwb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @SergiuNegara 💯

@ntwb ntwb merged commit 7816e56 into WordPress-Coding-Standards:master Sep 3, 2020
@ocean90
Copy link

ocean90 commented Nov 24, 2020

@ntwb Doesn't this also require a change to the current peerDependencies config? Seems like it needs to be "stylelint": "^13.7.0"

"peerDependencies": {
"stylelint": "^10.1.0 || ^11.0.0 || ^12.0.0 || ^13.0.0"
},

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

declaration-property-unit-whitelist has been deprecated
3 participants