{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/778","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/778/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/778/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/778/events","html_url":"https://github.com/stylelint/stylelint/issues/778","id":135049243,"number":778,"title":"Add unspecified: bottomAlphabetical option to rule-properties-order","user":{"login":"jeddy3","id":808227,"avatar_url":"https://avatars.githubusercontent.com/u/808227?v=3","gravatar_id":"","url":"https://api.github.com/users/jeddy3","html_url":"https://github.com/jeddy3","followers_url":"https://api.github.com/users/jeddy3/followers","following_url":"https://api.github.com/users/jeddy3/following{/other_user}","gists_url":"https://api.github.com/users/jeddy3/gists{/gist_id}","starred_url":"https://api.github.com/users/jeddy3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeddy3/subscriptions","organizations_url":"https://api.github.com/users/jeddy3/orgs","repos_url":"https://api.github.com/users/jeddy3/repos","events_url":"https://api.github.com/users/jeddy3/events{/privacy}","received_events_url":"https://api.github.com/users/jeddy3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stylelint/stylelint/labels/status:%20discussion","name":"status: discussion","color":"0023ee"},{"url":"https://api.github.com/repos/stylelint/stylelint/labels/type:%20enhancement","name":"type: enhancement","color":"488CFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-20T08:23:36Z","updated_at":"2016-02-20T18:16:51Z","closed_at":null,"body":"Would allow users who prefer alphabetical ordering to bump a couple of \"special\" properties to the top e.g.\r\n\r\n```json\r\n{\r\n  \"rule-properties-order\": [\r\n     [\r\n       \"all\",\r\n       \"compose\"\r\n     ], {\r\n        \"unspecified\": \"bottomAlphabetical\"\r\n     }\r\n  ]\r\n}\r\n```\r\n\r\n```css\r\n.a {\r\n  all: initial;\r\n  compose: .b;\r\n  align-items: flex-end;\r\n  display: block;\r\n}\r\n```\r\n\r\nAs well as letting those users who prefer a specific order to add strict alphabetical order to anything they've forgotten.\r\n\r\nI believe it could be done with [a single extra conditional](https://github.com/stylelint/stylelint/blob/master/src/rules/rule-properties-order/index.js#L156) (plus tests)."},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/186661792","html_url":"https://github.com/stylelint/stylelint/issues/778#issuecomment-186661792","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/778","id":186661792,"user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T18:16:51Z","updated_at":"2016-02-20T18:16:51Z","body":"Sounds good."}}