getUnitFromValueNode removed in v14 - no alternative documented
See original GitHub issueDescribe the documentation issue
Hi,
I have recently moved from v13 to v14, and I had a custom stylelint rule that was checking the values of a particular selector.
It essentially did this:
const unit = getUnitFromValueNode(node);
However I can see in v14 stylelint/lib/utils/getUnitFromValueNode
does not exist
What solution would you like to see?
There docs that give a clear alternative. How can I do the same as above but in v14? What other functions have been removed?
Issue Analytics
- State:
- Created a year ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
[Feature]: Emit diagnostics for ranges instead of single positions
What are some alternatives to this feature? No ... getUnitFromValueNode removed in v14 - no alternative documented stylelint/stylelint#6256.
Read more >Last issues related to stylelint/stylelint project
Create the 8-rules plugin (for the ones not yet handled by Prettier). 0 Likes 7 Replies ... getUnitFromValueNode removed in v14 - no...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Perfect @jeddy3 thank you for the response. I’ve raised it with them so i’ll report back if they have any questions or they resolve the issue.
Thank you all again 😃
Hi @ybiquitous - I can see
column
andendColumn
are different values in terminal:This is using Webstorm, and from what I can see this doesn’t use a plugin, it uses the
node_modules
stylelint package