{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/7232","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/7232/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/7232/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/7232/events","html_url":"https://github.com/eslint/eslint/issues/7232","id":179053061,"number":7232,"title":"async parsing rules are broken","user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/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/blocked","name":"blocked","color":"e11d21"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-24T21:32:39Z","updated_at":"2016-09-24T22:00:56Z","closed_at":null,"body":"<!--\r\nThis template is for bug reports. If you are reporting a bug, please continue on. If you are here for another reason, please see below:\r\n\r\n1. To propose a new rule: http://eslint.org/docs/developer-guide/contributing/new-rules\r\n2. To request a change: http://eslint.org/docs/developer-guide/contributing/changes\r\n3. If you have any questions, please stop by our chatroom: https://gitter.im/eslint/eslint\r\n\r\nNote that leaving sections blank will make it difficult for us to troubleshoot and we may have to close the issue.\r\n-->\r\n\r\n**Tell us about your environment**\r\n\r\n* **ESLint Version:**\r\n3.6.0\r\n* **Node Version:**\r\n6.6\r\n* **npm Version:**\r\nwhatever it comes with\r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?**\r\ndefault\r\n\r\n**Please show your full configuration:**\r\n`echo 'var foo = { async: 3 };' | eslint --no-eslintrc --stdin --parser-options='ecmaVersion:2017'`\r\n\r\n**What did you do? Please include the actual source code causing the issue.**\r\n`echo 'var foo = { async: 3 };' | eslint --no-eslintrc --stdin --parser-options='ecmaVersion:2017'`\r\n\r\n**What did you expect to happen?**\r\nNo error.\r\n\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\n```sh\r\n\r\n<text>\r\n  1:18  error  Parsing error: Unexpected token :\r\n\r\n✖ 1 problem (1 error, 0 warnings)\r\n```\r\n\r\n`async` is not a keyword, so it should be allowed anywhere."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/249390079","html_url":"https://github.com/eslint/eslint/issues/7232#issuecomment-249390079","issue_url":"https://api.github.com/repos/eslint/eslint/issues/7232","id":249390079,"user":{"login":"platinumazure","id":284282,"avatar_url":"https://avatars.githubusercontent.com/u/284282?v=3","gravatar_id":"","url":"https://api.github.com/users/platinumazure","html_url":"https://github.com/platinumazure","followers_url":"https://api.github.com/users/platinumazure/followers","following_url":"https://api.github.com/users/platinumazure/following{/other_user}","gists_url":"https://api.github.com/users/platinumazure/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumazure/subscriptions","organizations_url":"https://api.github.com/users/platinumazure/orgs","repos_url":"https://api.github.com/users/platinumazure/repos","events_url":"https://api.github.com/users/platinumazure/events{/privacy}","received_events_url":"https://api.github.com/users/platinumazure/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T22:00:56Z","updated_at":"2016-09-24T22:00:56Z","body":"Acorn parses this fine and espree reproduces the issue when used directly, so I think it's definitely an espree issue. Unfortunately, that's all I have time for at this point, so someone else feel free to jump on it.\r\n\r\n@mysticatea I reproduced on espree master but had no trouble when using espree's acorn dependency (and I just cloned espree and `npm install`'d five minutes ago), so I'm pretty sure there's an espree problem."}}
{"actor":{"display_login":"platinumazure"}}