Closed zoxon closed 6 years ago
config.json
{ "insertColons": false, "insertSemicolons": false, "insertBraces": false, "insertParenthesisAroundIfCondition": false, "selectorSeparator": "\n", "quoteChar": "'", "sortProperties": "grouped", "alwaysUseImport": true, "alwaysUseNoneOverZero": true, "reduceMarginAndPaddingValues": true, "ignoreFiles": ["gulp/**/icons-template.styl"] }
input.styl
$stars-count = 5 .star-rating height 30px width @height * $stars-count
output.styl
$stars-count = 5 .star-rating width @height * $stars-count // Error: cannot perform null * (5) height 30px
I think you should avoid using sortProperties, or replace @height with a variable. I cannot think of any solution.
sortProperties
@height
Closed due to no activities.
config.json
input.styl
output.styl