{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4302","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4302/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4302/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4302/events","html_url":"https://github.com/eslint/eslint/issues/4302","id":114322000,"number":4302,"title":"[Regression] space-in-parens ignores comments again","user":{"login":"mzgol","id":1758366,"avatar_url":"https://avatars.githubusercontent.com/u/1758366?v=3","gravatar_id":"","url":"https://api.github.com/users/mzgol","html_url":"https://github.com/mzgol","followers_url":"https://api.github.com/users/mzgol/followers","following_url":"https://api.github.com/users/mzgol/following{/other_user}","gists_url":"https://api.github.com/users/mzgol/gists{/gist_id}","starred_url":"https://api.github.com/users/mzgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzgol/subscriptions","organizations_url":"https://api.github.com/users/mzgol/orgs","repos_url":"https://api.github.com/users/mzgol/repos","events_url":"https://api.github.com/users/mzgol/events{/privacy}","received_events_url":"https://api.github.com/users/mzgol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-30T17:53:47Z","updated_at":"2015-10-30T18:58:54Z","closed_at":null,"body":"The following code:\r\n```js\r\nfunction f(/* config */ config, /* config.proxies */ proxies) {\r\n  return [config, proxies];\r\n}\r\nf();\r\n```\r\nnow (in ESLint 1.8.0) fails if `space-in-parens` is enabled with a message: \"There should be no spaces inside this paren\"; it didn't in 1.7.3.\r\n\r\nI'd expect it to not ignore the leading comment and treat it as not having a space directly after a paren (since there's no space there).\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27838338-regression-space-in-parens-ignores-comments-again?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/152617390","html_url":"https://github.com/eslint/eslint/issues/4302#issuecomment-152617390","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4302","id":152617390,"user":{"login":"alberto","id":72561,"avatar_url":"https://avatars.githubusercontent.com/u/72561?v=3","gravatar_id":"","url":"https://api.github.com/users/alberto","html_url":"https://github.com/alberto","followers_url":"https://api.github.com/users/alberto/followers","following_url":"https://api.github.com/users/alberto/following{/other_user}","gists_url":"https://api.github.com/users/alberto/gists{/gist_id}","starred_url":"https://api.github.com/users/alberto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberto/subscriptions","organizations_url":"https://api.github.com/users/alberto/orgs","repos_url":"https://api.github.com/users/alberto/repos","events_url":"https://api.github.com/users/alberto/events{/privacy}","received_events_url":"https://api.github.com/users/alberto/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T18:58:54Z","updated_at":"2015-10-30T18:58:54Z","body":"It doesn't fail if there is no space after the comment:\r\n```js\r\nfunction f(/* config */config, /* config.proxies */ proxies) {\r\n  return [config, proxies];\r\n}\r\nf();\r\n```\r\n\r\nWhat should we do then?"}}