Sort CSS Declaration Order in gulp-lesshint

111 Views Asked by At

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.

0

There are 0 best solutions below