{"action":"created","comment":{"url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/comments/22504181","id":22504181,"diff_hunk":"@@ -5,25 +6,23 @@ var mock = function () {\n   return {\n     sendMessage: function (options, next) { next(); }\n   };\n-}\n+};\n+\n var isTest = process.env.NODE_ENV === 'test';\n var isDev = process.env.npm_lifecycle_event === 'dev';\n \n if (isTest || isDev) {\n-  \n   module.exports = mock;\n-  return;","path":"lib/twilio.js","position":18,"original_position":18,"commit_id":"22abd23f490dedd72b8fa5e12c90870d3662999d","original_commit_id":"22abd23f490dedd72b8fa5e12c90870d3662999d","user":{"login":"jasonrhodes","id":159370,"avatar_url":"https://avatars.githubusercontent.com/u/159370?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonrhodes","html_url":"https://github.com/jasonrhodes","followers_url":"https://api.github.com/users/jasonrhodes/followers","following_url":"https://api.github.com/users/jasonrhodes/following{/other_user}","gists_url":"https://api.github.com/users/jasonrhodes/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonrhodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonrhodes/subscriptions","organizations_url":"https://api.github.com/users/jasonrhodes/orgs","repos_url":"https://api.github.com/users/jasonrhodes/repos","events_url":"https://api.github.com/users/jasonrhodes/events{/privacy}","received_events_url":"https://api.github.com/users/jasonrhodes/received_events","type":"User","site_admin":false},"body":"Yeah we either need to change that linting rule or wrap the rest of the file in an else block or the work in that Twilio mock gets totally undone. ","created_at":"2015-01-06T01:58:14Z","updated_at":"2015-01-06T01:58:14Z","html_url":"https://github.com/bigboringsystem/bigboringsystem/pull/118#discussion_r22504181","pull_request_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/comments/22504181"},"html":{"href":"https://github.com/bigboringsystem/bigboringsystem/pull/118#discussion_r22504181"},"pull_request":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118","id":26864751,"html_url":"https://github.com/bigboringsystem/bigboringsystem/pull/118","diff_url":"https://github.com/bigboringsystem/bigboringsystem/pull/118.diff","patch_url":"https://github.com/bigboringsystem/bigboringsystem/pull/118.patch","issue_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/issues/118","number":118,"state":"open","locked":false,"title":"Add linting to CI / Testing","user":{"login":"TheAlphaNerd","id":498775,"avatar_url":"https://avatars.githubusercontent.com/u/498775?v=3","gravatar_id":"","url":"https://api.github.com/users/TheAlphaNerd","html_url":"https://github.com/TheAlphaNerd","followers_url":"https://api.github.com/users/TheAlphaNerd/followers","following_url":"https://api.github.com/users/TheAlphaNerd/following{/other_user}","gists_url":"https://api.github.com/users/TheAlphaNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAlphaNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAlphaNerd/subscriptions","organizations_url":"https://api.github.com/users/TheAlphaNerd/orgs","repos_url":"https://api.github.com/users/TheAlphaNerd/repos","events_url":"https://api.github.com/users/TheAlphaNerd/events{/privacy}","received_events_url":"https://api.github.com/users/TheAlphaNerd/received_events","type":"User","site_admin":false},"body":"This patch closes #117 \r\n\r\nIt adds an npm script to lint the front end code in ```public/js```.  It also adds the linting step to ```npm test```.  Now linting will be part of the travis CI process, and all code will be nice and tidy.","created_at":"2015-01-06T01:43:30Z","updated_at":"2015-01-06T01:58:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4022849899011c08ab0f809a85e47f66783f0bc9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118/commits","review_comments_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118/comments","review_comment_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/issues/118/comments","statuses_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/statuses/22abd23f490dedd72b8fa5e12c90870d3662999d","head":{"label":"TheAlphaNerd:lint","ref":"lint","sha":"22abd23f490dedd72b8fa5e12c90870d3662999d","user":{"login":"TheAlphaNerd","id":498775,"avatar_url":"https://avatars.githubusercontent.com/u/498775?v=3","gravatar_id":"","url":"https://api.github.com/users/TheAlphaNerd","html_url":"https://github.com/TheAlphaNerd","followers_url":"https://api.github.com/users/TheAlphaNerd/followers","following_url":"https://api.github.com/users/TheAlphaNerd/following{/other_user}","gists_url":"https://api.github.com/users/TheAlphaNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAlphaNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAlphaNerd/subscriptions","organizations_url":"https://api.github.com/users/TheAlphaNerd/orgs","repos_url":"https://api.github.com/users/TheAlphaNerd/repos","events_url":"https://api.github.com/users/TheAlphaNerd/events{/privacy}","received_events_url":"https://api.github.com/users/TheAlphaNerd/received_events","type":"User","site_admin":false},"repo":{"id":28628288,"name":"bigboringsystem","full_name":"TheAlphaNerd/bigboringsystem","owner":{"login":"TheAlphaNerd","id":498775,"avatar_url":"https://avatars.githubusercontent.com/u/498775?v=3","gravatar_id":"","url":"https://api.github.com/users/TheAlphaNerd","html_url":"https://github.com/TheAlphaNerd","followers_url":"https://api.github.com/users/TheAlphaNerd/followers","following_url":"https://api.github.com/users/TheAlphaNerd/following{/other_user}","gists_url":"https://api.github.com/users/TheAlphaNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAlphaNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAlphaNerd/subscriptions","organizations_url":"https://api.github.com/users/TheAlphaNerd/orgs","repos_url":"https://api.github.com/users/TheAlphaNerd/repos","events_url":"https://api.github.com/users/TheAlphaNerd/events{/privacy}","received_events_url":"https://api.github.com/users/TheAlphaNerd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheAlphaNerd/bigboringsystem","description":"BBS - Big Boring System","fork":true,"url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem","forks_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/forks","keys_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/teams","hooks_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/hooks","issue_events_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/issues/events{/number}","events_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/events","assignees_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/assignees{/user}","branches_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/branches{/branch}","tags_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/tags","blobs_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/statuses/{sha}","languages_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/languages","stargazers_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/stargazers","contributors_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/contributors","subscribers_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/subscribers","subscription_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/subscription","commits_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/issues/comments/{number}","contents_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/contents/{+path}","compare_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/merges","archive_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/downloads","issues_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/issues{/number}","pulls_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/pulls{/number}","milestones_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/milestones{/number}","notifications_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/labels{/name}","releases_url":"https://api.github.com/repos/TheAlphaNerd/bigboringsystem/releases{/id}","created_at":"2014-12-30T11:23:16Z","updated_at":"2014-12-30T11:23:16Z","pushed_at":"2015-01-06T01:39:32Z","git_url":"git://github.com/TheAlphaNerd/bigboringsystem.git","ssh_url":"git@github.com:TheAlphaNerd/bigboringsystem.git","clone_url":"https://github.com/TheAlphaNerd/bigboringsystem.git","svn_url":"https://github.com/TheAlphaNerd/bigboringsystem","homepage":"http://bigboringsystem.com","size":288,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bigboringsystem:master","ref":"master","sha":"f623259f1cddac019bc4e881f0979979c81a05ef","user":{"login":"bigboringsystem","id":10271504,"avatar_url":"https://avatars.githubusercontent.com/u/10271504?v=3","gravatar_id":"","url":"https://api.github.com/users/bigboringsystem","html_url":"https://github.com/bigboringsystem","followers_url":"https://api.github.com/users/bigboringsystem/followers","following_url":"https://api.github.com/users/bigboringsystem/following{/other_user}","gists_url":"https://api.github.com/users/bigboringsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/bigboringsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigboringsystem/subscriptions","organizations_url":"https://api.github.com/users/bigboringsystem/orgs","repos_url":"https://api.github.com/users/bigboringsystem/repos","events_url":"https://api.github.com/users/bigboringsystem/events{/privacy}","received_events_url":"https://api.github.com/users/bigboringsystem/received_events","type":"Organization","site_admin":false},"repo":{"id":28010924,"name":"bigboringsystem","full_name":"bigboringsystem/bigboringsystem","owner":{"login":"bigboringsystem","id":10271504,"avatar_url":"https://avatars.githubusercontent.com/u/10271504?v=3","gravatar_id":"","url":"https://api.github.com/users/bigboringsystem","html_url":"https://github.com/bigboringsystem","followers_url":"https://api.github.com/users/bigboringsystem/followers","following_url":"https://api.github.com/users/bigboringsystem/following{/other_user}","gists_url":"https://api.github.com/users/bigboringsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/bigboringsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigboringsystem/subscriptions","organizations_url":"https://api.github.com/users/bigboringsystem/orgs","repos_url":"https://api.github.com/users/bigboringsystem/repos","events_url":"https://api.github.com/users/bigboringsystem/events{/privacy}","received_events_url":"https://api.github.com/users/bigboringsystem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigboringsystem/bigboringsystem","description":"BBS - Big Boring System","fork":false,"url":"https://api.github.com/repos/bigboringsystem/bigboringsystem","forks_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/forks","keys_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/teams","hooks_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/hooks","issue_events_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/issues/events{/number}","events_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/events","assignees_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/assignees{/user}","branches_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/branches{/branch}","tags_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/tags","blobs_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/statuses/{sha}","languages_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/languages","stargazers_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/stargazers","contributors_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/contributors","subscribers_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/subscribers","subscription_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/subscription","commits_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/issues/comments/{number}","contents_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/contents/{+path}","compare_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/merges","archive_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/downloads","issues_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/issues{/number}","pulls_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls{/number}","milestones_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/milestones{/number}","notifications_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/labels{/name}","releases_url":"https://api.github.com/repos/bigboringsystem/bigboringsystem/releases{/id}","created_at":"2014-12-14T22:46:50Z","updated_at":"2015-01-06T00:56:02Z","pushed_at":"2015-01-06T00:56:01Z","git_url":"git://github.com/bigboringsystem/bigboringsystem.git","ssh_url":"git@github.com:bigboringsystem/bigboringsystem.git","clone_url":"https://github.com/bigboringsystem/bigboringsystem.git","svn_url":"https://github.com/bigboringsystem/bigboringsystem","homepage":"http://bigboringsystem.com","size":1300,"stargazers_count":122,"watchers_count":122,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":34,"forks":28,"open_issues":34,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118"},"html":{"href":"https://github.com/bigboringsystem/bigboringsystem/pull/118"},"issue":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/issues/118"},"comments":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/bigboringsystem/bigboringsystem/statuses/22abd23f490dedd72b8fa5e12c90870d3662999d"}}}}