{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel-eslint/issues/207","labels_url":"https://api.github.com/repos/babel/babel-eslint/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-eslint/issues/207/comments","events_url":"https://api.github.com/repos/babel/babel-eslint/issues/207/events","html_url":"https://github.com/babel/babel-eslint/issues/207","id":116944668,"number":207,"title":"`space-before-function-paren` do false positive at async functions.","user":{"login":"mysticatea","id":1937871,"avatar_url":"https://avatars.githubusercontent.com/u/1937871?v=3","gravatar_id":"","url":"https://api.github.com/users/mysticatea","html_url":"https://github.com/mysticatea","followers_url":"https://api.github.com/users/mysticatea/followers","following_url":"https://api.github.com/users/mysticatea/following{/other_user}","gists_url":"https://api.github.com/users/mysticatea/gists{/gist_id}","starred_url":"https://api.github.com/users/mysticatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysticatea/subscriptions","organizations_url":"https://api.github.com/users/mysticatea/orgs","repos_url":"https://api.github.com/users/mysticatea/repos","events_url":"https://api.github.com/users/mysticatea/events{/privacy}","received_events_url":"https://api.github.com/users/mysticatea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-14T18:51:39Z","updated_at":"2015-11-16T20:31:58Z","closed_at":null,"body":"Today, I got a `space-before-function-paren` warning in the following code.\r\n\r\n```js\r\nimport runTask from \"./run-task\";\r\n\r\nexport default async function runTasksInSequencial(tasks, stdin, stdout, stderr) {\r\n    for (const task of tasks) {\r\n        const result = await runTask(task, stdin, stdout, stderr);\r\n        if (result.code) {\r\n            throw new Error(`${result.task}: None-Zero Exit(${result.code});`);\r\n        }\r\n    }\r\n}\r\n```\r\n\r\n```\r\n3:30  error  Unexpected space before function parentheses  space-before-function-paren\r\n```\r\n\r\nhttps://travis-ci.org/mysticatea/npm-run-all/jobs/91133881\r\n\r\n- eslint v1.9.0\r\n- babel-eslint v4.1.5\r\n\r\nI had not got this warning until 3 days ago, probably I had been using the same version.\r\n([this](https://github.com/babel/acorn-to-esprima/commit/482350ca852f2b5cd5007212c535424ad623c118) might be related)"},"comment":{"url":"https://api.github.com/repos/babel/babel-eslint/issues/comments/157160934","html_url":"https://github.com/babel/babel-eslint/issues/207#issuecomment-157160934","issue_url":"https://api.github.com/repos/babel/babel-eslint/issues/207","id":157160934,"user":{"login":"spalger","id":1329312,"avatar_url":"https://avatars.githubusercontent.com/u/1329312?v=3","gravatar_id":"","url":"https://api.github.com/users/spalger","html_url":"https://github.com/spalger","followers_url":"https://api.github.com/users/spalger/followers","following_url":"https://api.github.com/users/spalger/following{/other_user}","gists_url":"https://api.github.com/users/spalger/gists{/gist_id}","starred_url":"https://api.github.com/users/spalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalger/subscriptions","organizations_url":"https://api.github.com/users/spalger/orgs","repos_url":"https://api.github.com/users/spalger/repos","events_url":"https://api.github.com/users/spalger/events{/privacy}","received_events_url":"https://api.github.com/users/spalger/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T20:31:58Z","updated_at":"2015-11-16T20:31:58Z","body":"+1"}}