Open mituraTomasz opened 4 years ago
I'm trying to set order of scss rules with sassLint i Visual studio code. I want to set "width" and "height" on the top. I configured .sasslintrc.json file with rule:
{ "rules": { "property-sort-order": [ 1, { "order": [ "width", "height" ] } ] }
..but it dosent working. I'm still getting warnings:
I don't know what I'm doing wrong. Can somebody help me?
You can reference this implementation. Though I'd also recommend just using it. it is the most complete property sort order:
To learn more about why, check the readme:
I'm trying to set order of scss rules with sassLint i Visual studio code. I want to set "width" and "height" on the top. I configured .sasslintrc.json file with rule:
{ "rules": { "property-sort-order": [ 1, { "order": [ "width", "height" ] } ] }
..but it dosent working. I'm still getting warnings:
I don't know what I'm doing wrong. Can somebody help me?