mahil
mahil

Reputation: 33

Sort CSS Declaration Order in gulp-lesshint

I want to create a rule in lesshint to sort the CSS properties as per declaration order like this:

"sort-order": [
  [
    "font",
    "font-family"
  ],
  [
    "top",
    "position"
  ],
  [
    "color"
  ]
]

it's not working well. It does not throw any error.

Upvotes: 0

Views: 115

Answers (0)

Related Questions