scss-lint-plugin icon indicating copy to clipboard operation
scss-lint-plugin copied to clipboard

PropertySortOrderFix does not respect `order` settings

Open squ1b3r opened this issue 10 years ago • 6 comments

Despite the fact that I have specified concentric order when I press alt + enter and chose "Sort Properties" the plugin sorts everything alphabetically anyway.

  PropertySortOrder:
    enabled: true
    order: concentric
    ignore_unspecified: false
    separate_groups: false

squ1b3r avatar Feb 25 '15 21:02 squ1b3r

The same issue for me... :(

  PropertySortOrder:
    enabled: true
    ignore_unspecified: true
    severity: warning
    order: [
      "position",
      "top",
      "right",
      "bottom",
      "left",
      "z-index",
      "display",
      "float",
      "width",

... (and so on)

But it sort alphabetically...

tenhobi avatar Mar 31 '15 16:03 tenhobi

I see this issue too, any news on a fix?

hslater avatar Jun 03 '15 16:06 hslater

Any update on a fix for this?

jlmaners avatar Nov 09 '15 22:11 jlmaners

No plans to implement this? As of https://github.com/idok/scss-lint-plugin/commit/1ec04cf1e6454b39c684c0a76396b4d129e62de1 properties are still being always sorted alphabetically.

chris54721 avatar Mar 30 '16 18:03 chris54721

Don't know when and if I will get to this, a PR is, as always, welcomed.

idok avatar Apr 03 '16 09:04 idok

I'd be willing to put a financial bounty on this if someone wants to add the feature in?

shealan avatar May 20 '17 22:05 shealan