{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2965","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2965/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2965/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2965/events","html_url":"https://github.com/eslint/eslint/issues/2965","id":94364118,"number":2965,"title":"Lines-around-comments: allowBlockStart has issue with return block","user":{"login":"gyandeeps","id":5554486,"avatar_url":"https://avatars.githubusercontent.com/u/5554486?v=3","gravatar_id":"","url":"https://api.github.com/users/gyandeeps","html_url":"https://github.com/gyandeeps","followers_url":"https://api.github.com/users/gyandeeps/followers","following_url":"https://api.github.com/users/gyandeeps/following{/other_user}","gists_url":"https://api.github.com/users/gyandeeps/gists{/gist_id}","starred_url":"https://api.github.com/users/gyandeeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyandeeps/subscriptions","organizations_url":"https://api.github.com/users/gyandeeps/orgs","repos_url":"https://api.github.com/users/gyandeeps/repos","events_url":"https://api.github.com/users/gyandeeps/events{/privacy}","received_events_url":"https://api.github.com/users/gyandeeps/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-10T18:25:23Z","updated_at":"2015-07-14T12:00:11Z","closed_at":null,"body":"Eslint: v0.24.1\r\nPraser: default\r\n\r\nRule config:\r\n```json\r\n{\r\n    \"lines-around-comment\": [2, { \r\n        \"beforeLineComment\": true, \r\n        \"beforeBlockComment\": true, \r\n        \"allowBlockStart\": true \r\n    }]\r\n}\r\n```\r\n\r\n**Code:**\r\n\r\n```js\r\n/* eslint lines-around-comment:[2, { beforeLineComment: true, beforeBlockComment: true, allowBlockStart: true }]  */\r\nfunction hi(){\r\n\treturn{\r\n\t\t/**\r\n\t\t* hi\r\n\t\t*/\r\n\t\ttest: function() {\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\n**Actual:**\r\n```sh\r\n$ eslint --reset index.js\r\n\r\nindex.js\r\n  4:2  error  Expected line before comment  lines-around-comment\r\n\r\n? 1 problem (1 error, 0 warnings)\r\n```\r\n\r\n**Expected:**\r\n No errors."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/121215633","html_url":"https://github.com/eslint/eslint/issues/2965#issuecomment-121215633","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2965","id":121215633,"user":{"login":"xjamundx","id":246143,"avatar_url":"https://avatars.githubusercontent.com/u/246143?v=3","gravatar_id":"","url":"https://api.github.com/users/xjamundx","html_url":"https://github.com/xjamundx","followers_url":"https://api.github.com/users/xjamundx/followers","following_url":"https://api.github.com/users/xjamundx/following{/other_user}","gists_url":"https://api.github.com/users/xjamundx/gists{/gist_id}","starred_url":"https://api.github.com/users/xjamundx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xjamundx/subscriptions","organizations_url":"https://api.github.com/users/xjamundx/orgs","repos_url":"https://api.github.com/users/xjamundx/repos","events_url":"https://api.github.com/users/xjamundx/events{/privacy}","received_events_url":"https://api.github.com/users/xjamundx/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T12:00:11Z","updated_at":"2015-07-14T12:00:11Z","body":"What about a generic `afterCurlyBrace` exception? I think that appears to be what is wanted. "}}