{"action":"closed","issue":{"url":"https://api.github.com/repos/lesshint/lesshint/issues/90","repository_url":"https://api.github.com/repos/lesshint/lesshint","labels_url":"https://api.github.com/repos/lesshint/lesshint/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/lesshint/lesshint/issues/90/comments","events_url":"https://api.github.com/repos/lesshint/lesshint/issues/90/events","html_url":"https://github.com/lesshint/lesshint/issues/90","id":113811896,"number":90,"title":"New Linter: Mixin Rule First","user":{"login":"shellscape","id":76371,"avatar_url":"https://avatars.githubusercontent.com/u/76371?v=3","gravatar_id":"","url":"https://api.github.com/users/shellscape","html_url":"https://github.com/shellscape","followers_url":"https://api.github.com/users/shellscape/followers","following_url":"https://api.github.com/users/shellscape/following{/other_user}","gists_url":"https://api.github.com/users/shellscape/gists{/gist_id}","starred_url":"https://api.github.com/users/shellscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shellscape/subscriptions","organizations_url":"https://api.github.com/users/shellscape/orgs","repos_url":"https://api.github.com/users/shellscape/repos","events_url":"https://api.github.com/users/shellscape/events{/privacy}","received_events_url":"https://api.github.com/users/shellscape/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lesshint/lesshint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/lesshint/lesshint/labels/linter","name":"linter","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2015-10-28T12:40:28Z","updated_at":"2016-07-13T16:41:03Z","closed_at":"2016-07-13T16:41:03Z","body":"We've been catching a lot of alphabetizing offenders lately, thanks to the new addition a little while ago :) \r\n\r\nAs such, people have complained that it's not immediately obvious that mixin rules should be declared first (same with vendor-specific rules). I can see a new linter for validating that mixins are at the top of the rule stack when someone doesn't want to enforce alphabetizing. It'd also be a good linter for folks using alphabetizing, as the message that would accompany it would be pretty clear.\r\n\r\n```\r\n.selector {\r\n  border: 1px solid #000;\r\n  .transition-mixin;\r\n  width: 100px;\r\n}\r\n```\r\n\r\nvs\r\n\r\n```\r\n.selector {\r\n  .transition-mixin;  \r\n  border: 1px solid #000;\r\n  width: 100px;\r\n}\r\n```\r\n\r\nThoughts?"}}
{"actor":{"display_login":"shellscape"}}