{"action":"created","issue":{"url":"https://api.github.com/repos/lesshint/lesshint/issues/274","repository_url":"https://api.github.com/repos/lesshint/lesshint","labels_url":"https://api.github.com/repos/lesshint/lesshint/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/lesshint/lesshint/issues/274/comments","events_url":"https://api.github.com/repos/lesshint/lesshint/issues/274/events","html_url":"https://github.com/lesshint/lesshint/issues/274","id":185928626,"number":274,"title":"newlineAfterBlock not working in 2.2.0","user":{"login":"VolleMelk","id":9696261,"avatar_url":"https://avatars.githubusercontent.com/u/9696261?v=3","gravatar_id":"","url":"https://api.github.com/users/VolleMelk","html_url":"https://github.com/VolleMelk","followers_url":"https://api.github.com/users/VolleMelk/followers","following_url":"https://api.github.com/users/VolleMelk/following{/other_user}","gists_url":"https://api.github.com/users/VolleMelk/gists{/gist_id}","starred_url":"https://api.github.com/users/VolleMelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VolleMelk/subscriptions","organizations_url":"https://api.github.com/users/VolleMelk/orgs","repos_url":"https://api.github.com/users/VolleMelk/repos","events_url":"https://api.github.com/users/VolleMelk/events{/privacy}","received_events_url":"https://api.github.com/users/VolleMelk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-28T13:53:11Z","updated_at":"2016-10-28T19:40:06Z","closed_at":null,"body":"During a code review I noticed our build was passing even though I had the following less:\r\n```\r\nimg.poster {\r\n  width: 100%;\r\n}\r\nimg.playbutton {\r\n  left: ~\"calc(50% - 10px)\";\r\n  position: absolute;\r\n  top: ~\"calc(50% - 10px)\";\r\n}\r\n```\r\n\r\nWe have enabled the newlineAfterBlock linter with\r\n```\r\n  \"newlineAfterBlock\": {\r\n    \"enabled\": true,\r\n    \"severity\": \"error\"\r\n  },\r\n```\r\n\r\nOur buildservers are automatically updated. When I ran the linter on my development computer the build failed as expected:\r\n>Error: ipmobile.less: line 1186, col 7, newlineAfterBlock: All blocks should be followed by a new line.\r\n\r\nAfter I updated my globally installed lesshint using **npm update -g lesshint** and ran the linter again, the linter passed."},"comment":{"url":"https://api.github.com/repos/lesshint/lesshint/issues/comments/257010090","html_url":"https://github.com/lesshint/lesshint/issues/274#issuecomment-257010090","issue_url":"https://api.github.com/repos/lesshint/lesshint/issues/274","id":257010090,"user":{"login":"jwilsson","id":567607,"avatar_url":"https://avatars.githubusercontent.com/u/567607?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilsson","html_url":"https://github.com/jwilsson","followers_url":"https://api.github.com/users/jwilsson/followers","following_url":"https://api.github.com/users/jwilsson/following{/other_user}","gists_url":"https://api.github.com/users/jwilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilsson/subscriptions","organizations_url":"https://api.github.com/users/jwilsson/orgs","repos_url":"https://api.github.com/users/jwilsson/repos","events_url":"https://api.github.com/users/jwilsson/events{/privacy}","received_events_url":"https://api.github.com/users/jwilsson/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T19:40:06Z","updated_at":"2016-10-28T19:40:06Z","body":"I can confirm this, looks like a regression from ed2c9f6df2811d696067bf5f29fdde19a53a4467. I'll take a look at it."}}
{"actor":{"display_login":"jwilsson"}}