Handle object shorthand#67
Handle object shorthand#67gucong3000 merged 3 commits intogucong3000:masterfrom BPScott:handle-object-shorthand
Conversation
Objects that use the shorthand notation should be stringified as such.
This stops `<div style={{color}} />` being converted to
`<div style={{color:color}} />`
Codecov Report
@@ Coverage Diff @@
## master #67 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 20 20
Lines 477 480 +3
=====================================
+ Hits 477 480 +3
Continue to review full report at Codecov.
|
|
/cc @gucong3000 |
|
Thanks for the merge @gucong3000. @gucong3000 / @ai: Any chance of releasing a new version so we can get this fix into stylelint? |
|
@BPScott I will try to release it a week later when I will finish mu bachelor’s party |
|
Release in process (waiting for codecov to merge release commit). |
|
@BPScott released in 0.36.4. PostCSS now has an open collective. I can switch from my current open-source projects to a long-term solution for |
Objects that use the shorthand notation should be stringified as such.
This stops
<div style={{color}} />being converted to<div style={{color:color}} />.This fixes stylelint/stylelint#4449 / stylelint/stylelint#4485