{"action":"opened","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2082","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2082/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2082/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2082/events","html_url":"https://github.com/eslint/eslint/issues/2082","id":62202382,"number":2082,"title":"space-before-function-parentheses false positive on generator methods","user":{"login":"steadicat","id":6031,"avatar_url":"https://avatars.githubusercontent.com/u/6031?v=3","gravatar_id":"","url":"https://api.github.com/users/steadicat","html_url":"https://github.com/steadicat","followers_url":"https://api.github.com/users/steadicat/followers","following_url":"https://api.github.com/users/steadicat/following{/other_user}","gists_url":"https://api.github.com/users/steadicat/gists{/gist_id}","starred_url":"https://api.github.com/users/steadicat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steadicat/subscriptions","organizations_url":"https://api.github.com/users/steadicat/orgs","repos_url":"https://api.github.com/users/steadicat/repos","events_url":"https://api.github.com/users/steadicat/events{/privacy}","received_events_url":"https://api.github.com/users/steadicat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-16T20:34:41Z","updated_at":"2015-03-16T20:34:41Z","closed_at":null,"body":"```javascript\r\n// test.js\r\nclass Foo {\r\n  *bar() {\r\n  }\r\n}\r\n```\r\n```javascript\r\n// config.json\r\n{\r\n    \"ecmaFeatures\": {\r\n        \"generators\": true,\r\n        \"classes\": true\r\n    },\r\n    \"rules\": {\r\n        \"space-before-function-parentheses\": [2, \"never\"]\r\n    }\r\n}\r\n```\r\n```\r\n$ eslint --reset --no-eslintrc --config confing.json test.js\r\n\r\ntest.js\r\n  2:10  error  Unexpected space before function parentheses  space-before-function-parentheses\r\n```\r\n\r\nThis is similar to #1929, but not quite the same."}}