{"action":"created","comment":{"url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/comments/77904069","id":77904069,"diff_hunk":"@@ -0,0 +1,21 @@\n+#!/usr/bin/env php\n+\n+<?php\n+echo \"Running npm run lint...\";\n+exec('npm run lint', $output, $returnCode);\n+if (count($output) !== 8) { // Hard coded array length to 8 since return code is empty","path":"git-hooks/pre-push","position":6,"original_position":6,"commit_id":"f2c74ed7d00f1d6950696c37490b41f6481115b2","original_commit_id":"f2c74ed7d00f1d6950696c37490b41f6481115b2","user":{"login":"jwineman","id":6947158,"avatar_url":"https://avatars.githubusercontent.com/u/6947158?v=3","gravatar_id":"","url":"https://api.github.com/users/jwineman","html_url":"https://github.com/jwineman","followers_url":"https://api.github.com/users/jwineman/followers","following_url":"https://api.github.com/users/jwineman/following{/other_user}","gists_url":"https://api.github.com/users/jwineman/gists{/gist_id}","starred_url":"https://api.github.com/users/jwineman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwineman/subscriptions","organizations_url":"https://api.github.com/users/jwineman/orgs","repos_url":"https://api.github.com/users/jwineman/repos","events_url":"https://api.github.com/users/jwineman/events{/privacy}","received_events_url":"https://api.github.com/users/jwineman/received_events","type":"User","site_admin":false},"body":"I might do\r\n```\r\nif(!strstr(implode(' ', $output) , \"0 problems\")) {\r\n...\r\n}\r\n```\r\nbecause its possible you have an error that takes up exactly 8 lines.  Not a big deal though.  Go ahead and merge if it works.","created_at":"2016-09-07T21:07:52Z","updated_at":"2016-09-07T21:07:52Z","html_url":"https://github.com/cloudflare/CloudFlare-FrontEnd/pull/33#discussion_r77904069","pull_request_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/comments/77904069"},"html":{"href":"https://github.com/cloudflare/CloudFlare-FrontEnd/pull/33#discussion_r77904069"},"pull_request":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33","id":84179614,"html_url":"https://github.com/cloudflare/CloudFlare-FrontEnd/pull/33","diff_url":"https://github.com/cloudflare/CloudFlare-FrontEnd/pull/33.diff","patch_url":"https://github.com/cloudflare/CloudFlare-FrontEnd/pull/33.patch","issue_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/33","number":33,"state":"open","locked":false,"title":"PI-776 added lint check in pre-push hook","user":{"login":"thellimist","id":6690196,"avatar_url":"https://avatars.githubusercontent.com/u/6690196?v=3","gravatar_id":"","url":"https://api.github.com/users/thellimist","html_url":"https://github.com/thellimist","followers_url":"https://api.github.com/users/thellimist/followers","following_url":"https://api.github.com/users/thellimist/following{/other_user}","gists_url":"https://api.github.com/users/thellimist/gists{/gist_id}","starred_url":"https://api.github.com/users/thellimist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thellimist/subscriptions","organizations_url":"https://api.github.com/users/thellimist/orgs","repos_url":"https://api.github.com/users/thellimist/repos","events_url":"https://api.github.com/users/thellimist/events{/privacy}","received_events_url":"https://api.github.com/users/thellimist/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-06T19:15:55Z","updated_at":"2016-09-07T21:07:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0ff8cdea74f39ae6b42b98f43df9095f344c175","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33/commits","review_comments_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33/comments","review_comment_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/33/comments","statuses_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/statuses/f2c74ed7d00f1d6950696c37490b41f6481115b2","head":{"label":"cloudflare:Thellimist/PI-776","ref":"Thellimist/PI-776","sha":"f2c74ed7d00f1d6950696c37490b41f6481115b2","user":{"login":"cloudflare","id":314135,"avatar_url":"https://avatars.githubusercontent.com/u/314135?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudflare","html_url":"https://github.com/cloudflare","followers_url":"https://api.github.com/users/cloudflare/followers","following_url":"https://api.github.com/users/cloudflare/following{/other_user}","gists_url":"https://api.github.com/users/cloudflare/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudflare/subscriptions","organizations_url":"https://api.github.com/users/cloudflare/orgs","repos_url":"https://api.github.com/users/cloudflare/repos","events_url":"https://api.github.com/users/cloudflare/events{/privacy}","received_events_url":"https://api.github.com/users/cloudflare/received_events","type":"Organization","site_admin":false},"repo":{"id":59214547,"name":"CloudFlare-FrontEnd","full_name":"cloudflare/CloudFlare-FrontEnd","owner":{"login":"cloudflare","id":314135,"avatar_url":"https://avatars.githubusercontent.com/u/314135?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudflare","html_url":"https://github.com/cloudflare","followers_url":"https://api.github.com/users/cloudflare/followers","following_url":"https://api.github.com/users/cloudflare/following{/other_user}","gists_url":"https://api.github.com/users/cloudflare/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudflare/subscriptions","organizations_url":"https://api.github.com/users/cloudflare/orgs","repos_url":"https://api.github.com/users/cloudflare/repos","events_url":"https://api.github.com/users/cloudflare/events{/privacy}","received_events_url":"https://api.github.com/users/cloudflare/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudflare/CloudFlare-FrontEnd","description":"","fork":false,"url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd","forks_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/forks","keys_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/teams","hooks_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/hooks","issue_events_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/events{/number}","events_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/events","assignees_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/assignees{/user}","branches_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/branches{/branch}","tags_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/tags","blobs_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/languages","stargazers_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/stargazers","contributors_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/contributors","subscribers_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/subscribers","subscription_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/subscription","commits_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/contents/{+path}","compare_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/merges","archive_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/downloads","issues_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues{/number}","pulls_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/labels{/name}","releases_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/releases{/id}","deployments_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/deployments","created_at":"2016-05-19T14:33:52Z","updated_at":"2016-08-30T20:01:44Z","pushed_at":"2016-09-07T18:28:21Z","git_url":"git://github.com/cloudflare/CloudFlare-FrontEnd.git","ssh_url":"git@github.com:cloudflare/CloudFlare-FrontEnd.git","clone_url":"https://github.com/cloudflare/CloudFlare-FrontEnd.git","svn_url":"https://github.com/cloudflare/CloudFlare-FrontEnd","homepage":null,"size":2142,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"cloudflare:master","ref":"master","sha":"821903417fbc7b170619ed3626f4919e58c279c0","user":{"login":"cloudflare","id":314135,"avatar_url":"https://avatars.githubusercontent.com/u/314135?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudflare","html_url":"https://github.com/cloudflare","followers_url":"https://api.github.com/users/cloudflare/followers","following_url":"https://api.github.com/users/cloudflare/following{/other_user}","gists_url":"https://api.github.com/users/cloudflare/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudflare/subscriptions","organizations_url":"https://api.github.com/users/cloudflare/orgs","repos_url":"https://api.github.com/users/cloudflare/repos","events_url":"https://api.github.com/users/cloudflare/events{/privacy}","received_events_url":"https://api.github.com/users/cloudflare/received_events","type":"Organization","site_admin":false},"repo":{"id":59214547,"name":"CloudFlare-FrontEnd","full_name":"cloudflare/CloudFlare-FrontEnd","owner":{"login":"cloudflare","id":314135,"avatar_url":"https://avatars.githubusercontent.com/u/314135?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudflare","html_url":"https://github.com/cloudflare","followers_url":"https://api.github.com/users/cloudflare/followers","following_url":"https://api.github.com/users/cloudflare/following{/other_user}","gists_url":"https://api.github.com/users/cloudflare/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudflare/subscriptions","organizations_url":"https://api.github.com/users/cloudflare/orgs","repos_url":"https://api.github.com/users/cloudflare/repos","events_url":"https://api.github.com/users/cloudflare/events{/privacy}","received_events_url":"https://api.github.com/users/cloudflare/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudflare/CloudFlare-FrontEnd","description":"","fork":false,"url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd","forks_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/forks","keys_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/teams","hooks_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/hooks","issue_events_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/events{/number}","events_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/events","assignees_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/assignees{/user}","branches_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/branches{/branch}","tags_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/tags","blobs_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/languages","stargazers_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/stargazers","contributors_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/contributors","subscribers_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/subscribers","subscription_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/subscription","commits_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/contents/{+path}","compare_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/merges","archive_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/downloads","issues_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues{/number}","pulls_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/labels{/name}","releases_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/releases{/id}","deployments_url":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/deployments","created_at":"2016-05-19T14:33:52Z","updated_at":"2016-08-30T20:01:44Z","pushed_at":"2016-09-07T18:28:21Z","git_url":"git://github.com/cloudflare/CloudFlare-FrontEnd.git","ssh_url":"git@github.com:cloudflare/CloudFlare-FrontEnd.git","clone_url":"https://github.com/cloudflare/CloudFlare-FrontEnd.git","svn_url":"https://github.com/cloudflare/CloudFlare-FrontEnd","homepage":null,"size":2142,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33"},"html":{"href":"https://github.com/cloudflare/CloudFlare-FrontEnd/pull/33"},"issue":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/33"},"comments":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/cloudflare/CloudFlare-FrontEnd/statuses/f2c74ed7d00f1d6950696c37490b41f6481115b2"}}}}
{"actor":{"display_login":"jwineman"}}