{"action":"created","issue":{"url":"https://api.github.com/repos/kristerkari/stylelint-scss/issues/87","repository_url":"https://api.github.com/repos/kristerkari/stylelint-scss","labels_url":"https://api.github.com/repos/kristerkari/stylelint-scss/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/kristerkari/stylelint-scss/issues/87/comments","events_url":"https://api.github.com/repos/kristerkari/stylelint-scss/issues/87/events","html_url":"https://github.com/kristerkari/stylelint-scss/pull/87","id":192080046,"number":87,"title":"If else newlines","user":{"login":"dryoma","id":11942776,"avatar_url":"https://avatars.githubusercontent.com/u/11942776?v=3","gravatar_id":"","url":"https://api.github.com/users/dryoma","html_url":"https://github.com/dryoma","followers_url":"https://api.github.com/users/dryoma/followers","following_url":"https://api.github.com/users/dryoma/following{/other_user}","gists_url":"https://api.github.com/users/dryoma/gists{/gist_id}","starred_url":"https://api.github.com/users/dryoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dryoma/subscriptions","organizations_url":"https://api.github.com/users/dryoma/orgs","repos_url":"https://api.github.com/users/dryoma/repos","events_url":"https://api.github.com/users/dryoma/events{/privacy}","received_events_url":"https://api.github.com/users/dryoma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-28T18:22:45Z","updated_at":"2016-12-07T14:41:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kristerkari/stylelint-scss/pulls/87","html_url":"https://github.com/kristerkari/stylelint-scss/pull/87","diff_url":"https://github.com/kristerkari/stylelint-scss/pull/87.diff","patch_url":"https://github.com/kristerkari/stylelint-scss/pull/87.patch"},"body":"Implements #82 \r\n\r\nThese rules with the corresponding options are added (the reasoning and examples are in the issue discussion):\r\n```\r\n\"at-if-closing-brace-newline-after\": \"always-last-in-chain\"\r\n\"at-if-closing-brace-space-after\": \"always-intermediate\"|\"never-intermediate\"\r\n\"at-else-closing-brace-newline-after\": \"always-last-in-chain\"\r\n\"at-else-closing-brace-space-after\": \"always-intermediate\"|\"never-intermediate\"\r\n```\r\n\r\nI also added the /docs folder, for now it only has [examples/if-else.md](https://github.com/kristerkari/stylelint-scss/blob/if-else-newlines/docs/examples/if-else.md).\r\n\r\nThere are still cases I belive are unresolved:\r\n\r\n- [ ] We can't force `@else if` to always be on the same line. Can be solved by the `never` option to [`at-rule-name-newline-after`](http://stylelint.io/user-guide/rules/at-rule-name-newline-after/) (I'm ok with pushing a PR).\r\n- [x] Disallow an empty line before @else when `at-rule-empty-line-before` has `ignoreAtRules: [ \"else\" ]`.\r\n\r\n@ntwb Please see if the functionality that is complete so far works for you, and if there are any other things we need done.\r\n\r\ncc. @kristerkari @jeddy3 "},"comment":{"url":"https://api.github.com/repos/kristerkari/stylelint-scss/issues/comments/265463912","html_url":"https://github.com/kristerkari/stylelint-scss/pull/87#issuecomment-265463912","issue_url":"https://api.github.com/repos/kristerkari/stylelint-scss/issues/87","id":265463912,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T14:41:02Z","updated_at":"2016-12-07T14:41:02Z","body":"\n[![Coverage Status](https://coveralls.io/builds/9169013/badge)](https://coveralls.io/builds/9169013)\n\nCoverage increased (+0.3%) to 94.823% when pulling **687d85b74f777da3809b072f2dcfc1609689db0c on if-else-newlines** into **9100028152dc6ce7066c18ec104ebaca45268fac on master**.\n"}}
{"actor":{"display_login":"coveralls"}}