{"action":"created","issue":{"url":"https://api.github.com/repos/sasstools/sass-lint/issues/338","labels_url":"https://api.github.com/repos/sasstools/sass-lint/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/sasstools/sass-lint/issues/338/comments","events_url":"https://api.github.com/repos/sasstools/sass-lint/issues/338/events","html_url":"https://github.com/sasstools/sass-lint/issues/338","id":112673735,"number":338,"title":"No example on how to use custom property-sort-order or YAML file","user":{"login":"Saturn2888","id":3948069,"avatar_url":"https://avatars.githubusercontent.com/u/3948069?v=3","gravatar_id":"","url":"https://api.github.com/users/Saturn2888","html_url":"https://github.com/Saturn2888","followers_url":"https://api.github.com/users/Saturn2888/followers","following_url":"https://api.github.com/users/Saturn2888/following{/other_user}","gists_url":"https://api.github.com/users/Saturn2888/gists{/gist_id}","starred_url":"https://api.github.com/users/Saturn2888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saturn2888/subscriptions","organizations_url":"https://api.github.com/users/Saturn2888/orgs","repos_url":"https://api.github.com/users/Saturn2888/repos","events_url":"https://api.github.com/users/Saturn2888/events{/privacy}","received_events_url":"https://api.github.com/users/Saturn2888/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-21T20:36:08Z","updated_at":"2015-10-21T20:55:53Z","closed_at":null,"body":"I would like to see some documentation on how to setup property-sort-order in the YAML file. I have seen none and searching doesn't yield anything conclusive."},"comment":{"url":"https://api.github.com/repos/sasstools/sass-lint/issues/comments/150021755","html_url":"https://github.com/sasstools/sass-lint/issues/338#issuecomment-150021755","issue_url":"https://api.github.com/repos/sasstools/sass-lint/issues/338","id":150021755,"user":{"login":"bgriffith","id":2854338,"avatar_url":"https://avatars.githubusercontent.com/u/2854338?v=3","gravatar_id":"","url":"https://api.github.com/users/bgriffith","html_url":"https://github.com/bgriffith","followers_url":"https://api.github.com/users/bgriffith/followers","following_url":"https://api.github.com/users/bgriffith/following{/other_user}","gists_url":"https://api.github.com/users/bgriffith/gists{/gist_id}","starred_url":"https://api.github.com/users/bgriffith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgriffith/subscriptions","organizations_url":"https://api.github.com/users/bgriffith/orgs","repos_url":"https://api.github.com/users/bgriffith/repos","events_url":"https://api.github.com/users/bgriffith/events{/privacy}","received_events_url":"https://api.github.com/users/bgriffith/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T20:55:53Z","updated_at":"2015-10-21T20:55:53Z","body":"For a custom set the yaml would be:\r\n\r\n```yml\r\nproperty-sort-order:\r\n      - 1\r\n      -\r\n          order:\r\n              - 'position'\r\n              - 'top'\r\n              - 'right'\r\n              - 'bottom'\r\n              - 'left'\r\n              - 'z-index'\r\n              - 'display'\r\n              - 'float'\r\n              - 'width'\r\n              - 'height'\r\n              - 'max-width'\r\n              - 'max-height'\r\n              - 'min-width'\r\n              - 'min-height'\r\n              - 'padding'\r\n              - 'padding-top'\r\n              - 'padding-right'\r\n              - 'padding-bottom'\r\n              - 'padding-left'\r\n              - 'margin'\r\n              - 'margin-top'\r\n              - 'margin-right'\r\n              - 'margin-bottom'\r\n              - 'margin-left'\r\n              - 'margin-collapse'\r\n              - 'margin-top-collapse'\r\n              - 'margin-right-collapse'\r\n              - 'margin-bottom-collapse'\r\n              - 'margin-left-collapse'\r\n              - 'overflow'\r\n              - 'overflow-x'\r\n              - 'overflow-y'\r\n              - 'clip'\r\n              - 'clear'\r\n              - 'font'\r\n              - 'font-family'\r\n              - 'font-size'\r\n              - 'font-smoothing'\r\n              - 'osx-font-smoothing'\r\n              - 'font-style'\r\n              - 'font-weight'\r\n              - 'hyphens'\r\n              - 'src'\r\n              - 'line-height'\r\n              - 'letter-spacing'\r\n              - 'word-spacing'\r\n              - 'color'\r\n              - 'text-align'\r\n              - 'text-decoration'\r\n              - 'text-indent'\r\n              - 'text-overflow'\r\n              - 'text-rendering'\r\n              - 'text-size-adjust'\r\n              - 'text-shadow'\r\n              - 'text-transform'\r\n              - 'word-break'\r\n              - 'word-wrap'\r\n              - 'white-space'\r\n              - 'vertical-align'\r\n              - 'list-style'\r\n              - 'list-style-type'\r\n              - 'list-style-position'\r\n              - 'list-style-image'\r\n              - 'pointer-events'\r\n              - 'cursor'\r\n              - 'background'\r\n              - 'background-attachment'\r\n              - 'background-color'\r\n              - 'background-image'\r\n              - 'background-position'\r\n              - 'background-repeat'\r\n              - 'background-size'\r\n              - 'border'\r\n              - 'border-collapse'\r\n              - 'border-top'\r\n              - 'border-right'\r\n              - 'border-bottom'\r\n              - 'border-left'\r\n              - 'border-color'\r\n              - 'border-image'\r\n              - 'border-top-color'\r\n              - 'border-right-color'\r\n              - 'border-bottom-color'\r\n              - 'border-left-color'\r\n              - 'border-spacing'\r\n              - 'border-style'\r\n              - 'border-top-style'\r\n              - 'border-right-style'\r\n              - 'border-bottom-style'\r\n              - 'border-left-style'\r\n              - 'border-width'\r\n              - 'border-top-width'\r\n              - 'border-right-width'\r\n              - 'border-bottom-width'\r\n              - 'border-left-width'\r\n              - 'border-radius'\r\n              - 'border-top-right-radius'\r\n              - 'border-bottom-right-radius'\r\n              - 'border-bottom-left-radius'\r\n              - 'border-top-left-radius'\r\n              - 'border-radius-topright'\r\n              - 'border-radius-bottomright'\r\n              - 'border-radius-bottomleft'\r\n              - 'border-radius-topleft'\r\n              - 'content'\r\n              - 'quotes'\r\n              - 'outline'\r\n              - 'outline-offset'\r\n              - 'opacity'\r\n              - 'filter'\r\n              - 'visibility'\r\n              - 'size'\r\n              - 'zoom'\r\n              - 'transform'\r\n              - 'box-align'\r\n              - 'box-flex'\r\n              - 'box-orient'\r\n              - 'box-pack'\r\n              - 'box-shadow'\r\n              - 'box-sizing'\r\n              - 'table-layout'\r\n              - 'animation'\r\n              - 'animation-delay'\r\n              - 'animation-duration'\r\n              - 'animation-iteration-count'\r\n              - 'animation-name'\r\n              - 'animation-play-state'\r\n              - 'animation-timing-function'\r\n              - 'animation-fill-mode'\r\n              - 'transition'\r\n              - 'transition-delay'\r\n              - 'transition-duration'\r\n              - 'transition-property'\r\n              - 'transition-timing-function'\r\n              - 'background-clip'\r\n              - 'backface-visibility'\r\n              - 'resize'\r\n              - 'appearance'\r\n              - 'user-select'\r\n              - 'interpolation-mode'\r\n              - 'direction'\r\n              - 'marks'\r\n              - 'page'\r\n              - 'set-link-source'\r\n              - 'unicode-bidi'\r\n              - 'speak'\r\n```\r\n"}}