{"action":"opened","issue":{"url":"https://api.github.com/repos/csscomb/csscomb.js/issues/424","labels_url":"https://api.github.com/repos/csscomb/csscomb.js/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/csscomb/csscomb.js/issues/424/comments","events_url":"https://api.github.com/repos/csscomb/csscomb.js/issues/424/events","html_url":"https://github.com/csscomb/csscomb.js/issues/424","id":106567944,"number":424,"title":"block-indent is wrongly affecting closing brace","user":{"login":"vitorgalvao","id":1699443,"avatar_url":"https://avatars.githubusercontent.com/u/1699443?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-15T14:27:41Z","updated_at":"2015-09-15T14:27:41Z","closed_at":null,"body":"Given this CSS:\r\n\r\n```css\r\n.first-property {\r\n  position: fixed;\r\n  top: 0;\r\n}\r\n\r\n.second-property { position: fixed; }\r\n```\r\n\r\nIf the only CSSComb option we have is `\"block-indent\": 2`, the result will be:\r\n\r\n```css\r\n.first-property {\r\n  position: fixed;\r\n  top: 0;\r\n  }\r\n\r\n.second-property { position: fixed; }\r\n```\r\n\r\nSuffice it to say, this is wrong. `}` should have been left alone, just like `.first-property {` was. After all, it is not part of the block itself.\r\n\r\n“Why not just set `\"space-before-closing-brace\": \"\\n\"` as well, then?” Because that will give us:\r\n\r\n```css\r\n.first-property {\r\n  position: fixed;\r\n  top: 0;\r\n  }\r\n\r\n.second-property { position: fixed;\r\n}\r\n```\r\n\r\nAnd that is wrong as well. The goal here is to arrive at the first code example. From their names, `block-indent` is the misbehaving property."}}