{"action":"created","comment":{"url":"https://api.github.com/repos/pocke/sandbox2/pulls/comments/69506013","id":69506013,"diff_hunk":"@@ -0,0 +1,94 @@\n+/*eslint-env es6*/\n+\n+// Bad\n+a => {}\n+\n+// Good\n+(a) => {}\n+/*eslint-env es6*/\n+\n+// Bad\n+if (a => 2) {\n+}\n+\n+// Good\n+if (a >= 2) {\n+}\n+/*eslint-env es6*/\n+\n+// Bad\n+(a) => {}\n+\n+// Good\n+a => {}\n+/*eslint arrow-parens: [\"error\", \"always\"]*/\n+/*eslint-env es6*/\n+\n+a => {};\n+a => a;\n+a => {'\\n'};\n+a.then(foo => {});\n+a.then(foo => a);\n+a(foo => { if (true) {}; });\n+/*eslint arrow-parens: [\"error\", \"always\"]*/\n+/*eslint-env es6*/\n+\n+() => {};\n+(a) => {};\n+(a) => a;\n+(a) => {'\\n'}\n+a.then((foo) => {});\n+a.then((foo) => { if (true) {}; });\n+/*eslint-env es6*/\n+\n+var a = 1;\n+var b = 2;\n+// ...\n+if (a => b) {\n+ console.log('bigger');\n+} else {\n+ console.log('smaller');\n+};\n+// outputs 'bigger', not smaller as expected\n+/*eslint-env es6*/\n+\n+var a = 1;\n+var b = 0;\n+// ...\n+if ((a) => b) {\n+ console.log('truthy value returned');\n+} else {\n+ console.log('falsey value returned');\n+};\n+// outputs 'truthy value returned'\n+/*eslint-env es6*/\n+\n+var a = 1, b = 2, c = 3, d = 4;\n+var f = a => b ? c: d;\n+// f = ?\n+/*eslint-env es6*/\n+\n+var a = 1, b = 2, c = 3, d = 4;","path":"result/arrow-parens.js","position":71,"original_position":71,"commit_id":"0e6594416338ada4f1fb0ccc8e20e851720ef315","original_commit_id":"0e6594416338ada4f1fb0ccc8e20e851720ef315","user":{"login":"pocke","id":4361134,"avatar_url":"https://avatars.githubusercontent.com/u/4361134?v=3","gravatar_id":"","url":"https://api.github.com/users/pocke","html_url":"https://github.com/pocke","followers_url":"https://api.github.com/users/pocke/followers","following_url":"https://api.github.com/users/pocke/following{/other_user}","gists_url":"https://api.github.com/users/pocke/gists{/gist_id}","starred_url":"https://api.github.com/users/pocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocke/subscriptions","organizations_url":"https://api.github.com/users/pocke/orgs","repos_url":"https://api.github.com/users/pocke/repos","events_url":"https://api.github.com/users/pocke/events{/privacy}","received_events_url":"https://api.github.com/users/pocke/received_events","type":"User","site_admin":false},"body":"__[development][eslint]__\n* Error - 'a' is already defined (no-redeclare)\n* Error - 'b' is already defined (no-redeclare)\n* Error - 'c' is already defined (no-redeclare)\n* Error - 'd' is already defined (no-redeclare)","created_at":"2016-07-05T04:17:54Z","updated_at":"2016-07-05T04:17:54Z","html_url":"https://github.com/pocke/sandbox2/pull/38#discussion_r69506013","pull_request_url":"https://api.github.com/repos/pocke/sandbox2/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/pocke/sandbox2/pulls/comments/69506013"},"html":{"href":"https://github.com/pocke/sandbox2/pull/38#discussion_r69506013"},"pull_request":{"href":"https://api.github.com/repos/pocke/sandbox2/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/pocke/sandbox2/pulls/38","id":76211898,"html_url":"https://github.com/pocke/sandbox2/pull/38","diff_url":"https://github.com/pocke/sandbox2/pull/38.diff","patch_url":"https://github.com/pocke/sandbox2/pull/38.patch","issue_url":"https://api.github.com/repos/pocke/sandbox2/issues/38","number":38,"state":"open","locked":false,"title":"Add dirty js code","user":{"login":"pocke","id":4361134,"avatar_url":"https://avatars.githubusercontent.com/u/4361134?v=3","gravatar_id":"","url":"https://api.github.com/users/pocke","html_url":"https://github.com/pocke","followers_url":"https://api.github.com/users/pocke/followers","following_url":"https://api.github.com/users/pocke/following{/other_user}","gists_url":"https://api.github.com/users/pocke/gists{/gist_id}","starred_url":"https://api.github.com/users/pocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocke/subscriptions","organizations_url":"https://api.github.com/users/pocke/orgs","repos_url":"https://api.github.com/users/pocke/repos","events_url":"https://api.github.com/users/pocke/events{/privacy}","received_events_url":"https://api.github.com/users/pocke/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-05T02:35:54Z","updated_at":"2016-07-05T04:17:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"614d458294f80cb67137840bf051e7c7872986c5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pocke/sandbox2/pulls/38/commits","review_comments_url":"https://api.github.com/repos/pocke/sandbox2/pulls/38/comments","review_comment_url":"https://api.github.com/repos/pocke/sandbox2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pocke/sandbox2/issues/38/comments","statuses_url":"https://api.github.com/repos/pocke/sandbox2/statuses/0e6594416338ada4f1fb0ccc8e20e851720ef315","head":{"label":"pocke:eslint-autofix","ref":"eslint-autofix","sha":"0e6594416338ada4f1fb0ccc8e20e851720ef315","user":{"login":"pocke","id":4361134,"avatar_url":"https://avatars.githubusercontent.com/u/4361134?v=3","gravatar_id":"","url":"https://api.github.com/users/pocke","html_url":"https://github.com/pocke","followers_url":"https://api.github.com/users/pocke/followers","following_url":"https://api.github.com/users/pocke/following{/other_user}","gists_url":"https://api.github.com/users/pocke/gists{/gist_id}","starred_url":"https://api.github.com/users/pocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocke/subscriptions","organizations_url":"https://api.github.com/users/pocke/orgs","repos_url":"https://api.github.com/users/pocke/repos","events_url":"https://api.github.com/users/pocke/events{/privacy}","received_events_url":"https://api.github.com/users/pocke/received_events","type":"User","site_admin":false},"repo":{"id":48021846,"name":"sandbox2","full_name":"pocke/sandbox2","owner":{"login":"pocke","id":4361134,"avatar_url":"https://avatars.githubusercontent.com/u/4361134?v=3","gravatar_id":"","url":"https://api.github.com/users/pocke","html_url":"https://github.com/pocke","followers_url":"https://api.github.com/users/pocke/followers","following_url":"https://api.github.com/users/pocke/following{/other_user}","gists_url":"https://api.github.com/users/pocke/gists{/gist_id}","starred_url":"https://api.github.com/users/pocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocke/subscriptions","organizations_url":"https://api.github.com/users/pocke/orgs","repos_url":"https://api.github.com/users/pocke/repos","events_url":"https://api.github.com/users/pocke/events{/privacy}","received_events_url":"https://api.github.com/users/pocke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pocke/sandbox2","description":"","fork":false,"url":"https://api.github.com/repos/pocke/sandbox2","forks_url":"https://api.github.com/repos/pocke/sandbox2/forks","keys_url":"https://api.github.com/repos/pocke/sandbox2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocke/sandbox2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocke/sandbox2/teams","hooks_url":"https://api.github.com/repos/pocke/sandbox2/hooks","issue_events_url":"https://api.github.com/repos/pocke/sandbox2/issues/events{/number}","events_url":"https://api.github.com/repos/pocke/sandbox2/events","assignees_url":"https://api.github.com/repos/pocke/sandbox2/assignees{/user}","branches_url":"https://api.github.com/repos/pocke/sandbox2/branches{/branch}","tags_url":"https://api.github.com/repos/pocke/sandbox2/tags","blobs_url":"https://api.github.com/repos/pocke/sandbox2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocke/sandbox2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocke/sandbox2/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocke/sandbox2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocke/sandbox2/statuses/{sha}","languages_url":"https://api.github.com/repos/pocke/sandbox2/languages","stargazers_url":"https://api.github.com/repos/pocke/sandbox2/stargazers","contributors_url":"https://api.github.com/repos/pocke/sandbox2/contributors","subscribers_url":"https://api.github.com/repos/pocke/sandbox2/subscribers","subscription_url":"https://api.github.com/repos/pocke/sandbox2/subscription","commits_url":"https://api.github.com/repos/pocke/sandbox2/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocke/sandbox2/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocke/sandbox2/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocke/sandbox2/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocke/sandbox2/contents/{+path}","compare_url":"https://api.github.com/repos/pocke/sandbox2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocke/sandbox2/merges","archive_url":"https://api.github.com/repos/pocke/sandbox2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocke/sandbox2/downloads","issues_url":"https://api.github.com/repos/pocke/sandbox2/issues{/number}","pulls_url":"https://api.github.com/repos/pocke/sandbox2/pulls{/number}","milestones_url":"https://api.github.com/repos/pocke/sandbox2/milestones{/number}","notifications_url":"https://api.github.com/repos/pocke/sandbox2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocke/sandbox2/labels{/name}","releases_url":"https://api.github.com/repos/pocke/sandbox2/releases{/id}","deployments_url":"https://api.github.com/repos/pocke/sandbox2/deployments","created_at":"2015-12-15T05:35:52Z","updated_at":"2015-12-15T05:35:52Z","pushed_at":"2016-07-05T04:13:45Z","git_url":"git://github.com/pocke/sandbox2.git","ssh_url":"git@github.com:pocke/sandbox2.git","clone_url":"https://github.com/pocke/sandbox2.git","svn_url":"https://github.com/pocke/sandbox2","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"pocke:master","ref":"master","sha":"216eaa14e5624f12fc1227c3548666722f6fc576","user":{"login":"pocke","id":4361134,"avatar_url":"https://avatars.githubusercontent.com/u/4361134?v=3","gravatar_id":"","url":"https://api.github.com/users/pocke","html_url":"https://github.com/pocke","followers_url":"https://api.github.com/users/pocke/followers","following_url":"https://api.github.com/users/pocke/following{/other_user}","gists_url":"https://api.github.com/users/pocke/gists{/gist_id}","starred_url":"https://api.github.com/users/pocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocke/subscriptions","organizations_url":"https://api.github.com/users/pocke/orgs","repos_url":"https://api.github.com/users/pocke/repos","events_url":"https://api.github.com/users/pocke/events{/privacy}","received_events_url":"https://api.github.com/users/pocke/received_events","type":"User","site_admin":false},"repo":{"id":48021846,"name":"sandbox2","full_name":"pocke/sandbox2","owner":{"login":"pocke","id":4361134,"avatar_url":"https://avatars.githubusercontent.com/u/4361134?v=3","gravatar_id":"","url":"https://api.github.com/users/pocke","html_url":"https://github.com/pocke","followers_url":"https://api.github.com/users/pocke/followers","following_url":"https://api.github.com/users/pocke/following{/other_user}","gists_url":"https://api.github.com/users/pocke/gists{/gist_id}","starred_url":"https://api.github.com/users/pocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocke/subscriptions","organizations_url":"https://api.github.com/users/pocke/orgs","repos_url":"https://api.github.com/users/pocke/repos","events_url":"https://api.github.com/users/pocke/events{/privacy}","received_events_url":"https://api.github.com/users/pocke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pocke/sandbox2","description":"","fork":false,"url":"https://api.github.com/repos/pocke/sandbox2","forks_url":"https://api.github.com/repos/pocke/sandbox2/forks","keys_url":"https://api.github.com/repos/pocke/sandbox2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocke/sandbox2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocke/sandbox2/teams","hooks_url":"https://api.github.com/repos/pocke/sandbox2/hooks","issue_events_url":"https://api.github.com/repos/pocke/sandbox2/issues/events{/number}","events_url":"https://api.github.com/repos/pocke/sandbox2/events","assignees_url":"https://api.github.com/repos/pocke/sandbox2/assignees{/user}","branches_url":"https://api.github.com/repos/pocke/sandbox2/branches{/branch}","tags_url":"https://api.github.com/repos/pocke/sandbox2/tags","blobs_url":"https://api.github.com/repos/pocke/sandbox2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocke/sandbox2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocke/sandbox2/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocke/sandbox2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocke/sandbox2/statuses/{sha}","languages_url":"https://api.github.com/repos/pocke/sandbox2/languages","stargazers_url":"https://api.github.com/repos/pocke/sandbox2/stargazers","contributors_url":"https://api.github.com/repos/pocke/sandbox2/contributors","subscribers_url":"https://api.github.com/repos/pocke/sandbox2/subscribers","subscription_url":"https://api.github.com/repos/pocke/sandbox2/subscription","commits_url":"https://api.github.com/repos/pocke/sandbox2/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocke/sandbox2/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocke/sandbox2/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocke/sandbox2/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocke/sandbox2/contents/{+path}","compare_url":"https://api.github.com/repos/pocke/sandbox2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocke/sandbox2/merges","archive_url":"https://api.github.com/repos/pocke/sandbox2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocke/sandbox2/downloads","issues_url":"https://api.github.com/repos/pocke/sandbox2/issues{/number}","pulls_url":"https://api.github.com/repos/pocke/sandbox2/pulls{/number}","milestones_url":"https://api.github.com/repos/pocke/sandbox2/milestones{/number}","notifications_url":"https://api.github.com/repos/pocke/sandbox2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocke/sandbox2/labels{/name}","releases_url":"https://api.github.com/repos/pocke/sandbox2/releases{/id}","deployments_url":"https://api.github.com/repos/pocke/sandbox2/deployments","created_at":"2015-12-15T05:35:52Z","updated_at":"2015-12-15T05:35:52Z","pushed_at":"2016-07-05T04:13:45Z","git_url":"git://github.com/pocke/sandbox2.git","ssh_url":"git@github.com:pocke/sandbox2.git","clone_url":"https://github.com/pocke/sandbox2.git","svn_url":"https://github.com/pocke/sandbox2","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pocke/sandbox2/pulls/38"},"html":{"href":"https://github.com/pocke/sandbox2/pull/38"},"issue":{"href":"https://api.github.com/repos/pocke/sandbox2/issues/38"},"comments":{"href":"https://api.github.com/repos/pocke/sandbox2/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/pocke/sandbox2/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/pocke/sandbox2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pocke/sandbox2/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/pocke/sandbox2/statuses/0e6594416338ada4f1fb0ccc8e20e851720ef315"}}}}
{"actor":{"display_login":"pocke"}}