Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for groups in declaration-block-properties-order #167

Merged

Conversation

hudochenkov
Copy link
Contributor

Add support for groups in stylelint config:

{
  "rules": {
    "declaration-block-properties-order": [
      {
        "properties": [
          "font-size",
          "font-weight"
        ]
      },
      "display",
      "width",
      "height",
      "color",
      "background",
      "opacity"
    ]
  }
}

Also it fixes #165.

@matype
Copy link
Owner

matype commented Jul 20, 2016

@hudochenkov Wow, thanks! Nice work :)

@matype matype merged commit aa81bfd into matype:master Jul 20, 2016
@paazmaya
Copy link
Contributor

This does seem to miss the possibility to use "alphabetical".
http://stylelint.io/user-guide/rules/declaration-block-properties-order/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: group.forEach is not a function
3 participants