{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/390","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/390/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/390/events","html_url":"https://github.com/stylelint/stylelint/issues/390","id":107333697,"number":390,"title":"Disabling selector-combinator-space-before rule inline in CSS fails","user":{"login":"ntwb","id":1016458,"avatar_url":"https://avatars.githubusercontent.com/u/1016458?v=3","gravatar_id":"","url":"https://api.github.com/users/ntwb","html_url":"https://github.com/ntwb","followers_url":"https://api.github.com/users/ntwb/followers","following_url":"https://api.github.com/users/ntwb/following{/other_user}","gists_url":"https://api.github.com/users/ntwb/gists{/gist_id}","starred_url":"https://api.github.com/users/ntwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntwb/subscriptions","organizations_url":"https://api.github.com/users/ntwb/orgs","repos_url":"https://api.github.com/users/ntwb/repos","events_url":"https://api.github.com/users/ntwb/events{/privacy}","received_events_url":"https://api.github.com/users/ntwb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-19T13:34:43Z","updated_at":"2015-09-19T20:59:42Z","closed_at":"2015-09-19T20:29:20Z","body":"Given the following CSS:\r\n\r\n```css\r\n/* stylelint-disable selector-combinator-space-before */\r\n.reordering .menu-item-depth-0  > .menu-item-bar { margin-right: 0;     }\r\n.reordering .menu-item-depth-1  > .menu-item-bar { margin-right: 15px;  }\r\n.reordering .menu-item-depth-2  > .menu-item-bar { margin-right: 30px;  }\r\n.reordering .menu-item-depth-3  > .menu-item-bar { margin-right: 45px;  }\r\n.reordering .menu-item-depth-4  > .menu-item-bar { margin-right: 60px;  }\r\n.reordering .menu-item-depth-5  > .menu-item-bar { margin-right: 75px;  }\r\n.reordering .menu-item-depth-6  > .menu-item-bar { margin-right: 90px;  }\r\n.reordering .menu-item-depth-7  > .menu-item-bar { margin-right: 105px; }\r\n.reordering .menu-item-depth-8  > .menu-item-bar { margin-right: 120px; }\r\n.reordering .menu-item-depth-9  > .menu-item-bar { margin-right: 135px; }\r\n.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; }\r\n.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; }\r\n/* stylelint-enable */\r\n```\r\n(Lines 1 - 10 above have two spaces preceding the `>` combinator to align the formatting.)\r\n\r\nUsing the following rule configuration:\r\n```\r\n    \"selector-combinator-space-after\": [ 2, \"always\" ],\r\n    \"selector-combinator-space-before\": [ 2, \"always\" ],\r\n```\r\n\r\nThe following warning is the result: (10 warnings for the 10 instances)\r\n```\r\n435:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n436:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n437:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n438:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n439:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n440:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n441:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n442:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n443:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n444:33\t⚠  Expected single space before \">\" combinator (selector-combinator-space-before) [stylelint]\r\n```\r\n\r\nNote: The above is an excerpt of my full CSS, with my full CSS I'm actually disabling 4 rules in total:\r\n```/* stylelint-disable block-opening-brace-newline-after, block-opening-brace-space-before, selector-combinator-space-before, block-closing-brace-newline-before */```, the only rule that is not disabled is the `selector-combinator-space-before` rule, the other 3 rules are successfully disabled."},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/141706968","html_url":"https://github.com/stylelint/stylelint/issues/390#issuecomment-141706968","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/390","id":141706968,"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":"2015-09-19T20:59:42Z","updated_at":"2015-09-19T20:59:42Z","body":"@ntwb : All of your great bugs & requests (thanks again!) should be addressed in 1.1.0, just released (except the one I didn't quite understand, #388). Please let me know if those fixes work as expected."}}