{"action":"created","comment":{"url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/comments/237055219","pull_request_review_id":179260471,"id":237055219,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzA1NTIxOQ==","diff_hunk":"@@ -1,93 +1,90 @@\n-const fs = require(\"fs\"),\n-    http = require(\"http\"),\n-    path = require(\"path\"),\n-    methods = require(\"methods\"),\n-    express = require(\"express\"),\n-    bodyParser = require(\"body-parser\"),\n-    session = require(\"express-session\"),\n-    cors = require(\"cors\"),\n-    passport = require(\"passport\"),\n-    errorhandler = require(\"errorhandler\"),\n-    mongoose = require(\"mongoose\");\n-\n-const isProduction = process.env.NODE_ENV === \"production\";\n+const express = require('express'),\n+  bodyParser = require('body-parser'),\n+  session = require('express-session'),\n+  cors = require('cors'),\n+  errorhandler = require('errorhandler'),\n+  mongoose = require('mongoose');","path":"index.js","position":19,"original_position":19,"commit_id":"7e89735cd7c9e67b6ec0ba37918a112c179a9883","original_commit_id":"7e89735cd7c9e67b6ec0ba37918a112c179a9883","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'require' is not defined    no-undef","created_at":"2018-11-28T12:05:53Z","updated_at":"2018-11-28T12:05:55Z","html_url":"https://github.com/andela/helios-ah-backend/pull/2#discussion_r237055219","pull_request_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/comments/237055219"},"html":{"href":"https://github.com/andela/helios-ah-backend/pull/2#discussion_r237055219"},"pull_request":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2","id":233953076,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzOTUzMDc2","html_url":"https://github.com/andela/helios-ah-backend/pull/2","diff_url":"https://github.com/andela/helios-ah-backend/pull/2.diff","patch_url":"https://github.com/andela/helios-ah-backend/pull/2.patch","issue_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/2","number":2,"state":"open","locked":false,"title":"#161779769 Configure Eslint for the application","user":{"login":"andrewinsoul","id":25207671,"node_id":"MDQ6VXNlcjI1MjA3Njcx","avatar_url":"https://avatars3.githubusercontent.com/u/25207671?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewinsoul","html_url":"https://github.com/andrewinsoul","followers_url":"https://api.github.com/users/andrewinsoul/followers","following_url":"https://api.github.com/users/andrewinsoul/following{/other_user}","gists_url":"https://api.github.com/users/andrewinsoul/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewinsoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewinsoul/subscriptions","organizations_url":"https://api.github.com/users/andrewinsoul/orgs","repos_url":"https://api.github.com/users/andrewinsoul/repos","events_url":"https://api.github.com/users/andrewinsoul/events{/privacy}","received_events_url":"https://api.github.com/users/andrewinsoul/received_events","type":"User","site_admin":false},"body":"#### What does this this PR do?\r\nThis PR configures eslint for the application using the airbnb style guide.\r\n\r\n#### Description of Tasks Completed\r\n- Install eslint, eslint-config-airbnb, eslint-plugin-jsx-a11y, eslint-plugin-react, eslint-plugin-import\r\n- Add .eslintrc.json file\r\n- Edit .eslintrc.json file based on airbnb style guide\r\n\r\n#### How should this be manually tested?\r\n- Create a file with .js extension\r\n- Try using var for declaring a variable\r\n- Eslint should flag it.\r\n\r\n#### Background Context Provided\r\n- N/A\r\n\r\n#### What are the Relevant Pivotal Tracker Stories?\r\n[#161779769](https://www.pivotaltracker.com/n/projects/2223726)\r\n","created_at":"2018-11-27T15:25:07Z","updated_at":"2018-11-28T12:05:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00916c6e75a371cdff6efeb1bea30b1497d4894e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2/commits","review_comments_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2/comments","review_comment_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/2/comments","statuses_url":"https://api.github.com/repos/andela/helios-ah-backend/statuses/7e89735cd7c9e67b6ec0ba37918a112c179a9883","head":{"label":"andela:ch-configure-eslint-2223726","ref":"ch-configure-eslint-2223726","sha":"7e89735cd7c9e67b6ec0ba37918a112c179a9883","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156541987,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDE5ODc=","name":"helios-ah-backend","full_name":"andela/helios-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/helios-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/helios-ah-backend","forks_url":"https://api.github.com/repos/andela/helios-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/helios-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/helios-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/helios-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/helios-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/helios-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/helios-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/helios-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/helios-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/helios-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/helios-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/helios-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/helios-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/helios-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/helios-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/helios-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/helios-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/helios-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/helios-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/helios-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/helios-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/helios-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/helios-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/helios-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/helios-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/helios-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/helios-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/helios-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/helios-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/helios-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/helios-ah-backend/deployments","created_at":"2018-11-07T12:17:35Z","updated_at":"2018-11-27T16:49:25Z","pushed_at":"2018-11-28T12:05:36Z","git_url":"git://github.com/andela/helios-ah-backend.git","ssh_url":"git@github.com:andela/helios-ah-backend.git","clone_url":"https://github.com/andela/helios-ah-backend.git","svn_url":"https://github.com/andela/helios-ah-backend","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"af6bd2e381093e5fc5190c41efebf3552834e3b7","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156541987,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDE5ODc=","name":"helios-ah-backend","full_name":"andela/helios-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/helios-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/helios-ah-backend","forks_url":"https://api.github.com/repos/andela/helios-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/helios-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/helios-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/helios-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/helios-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/helios-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/helios-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/helios-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/helios-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/helios-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/helios-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/helios-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/helios-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/helios-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/helios-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/helios-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/helios-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/helios-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/helios-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/helios-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/helios-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/helios-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/helios-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/helios-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/helios-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/helios-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/helios-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/helios-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/helios-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/helios-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/helios-ah-backend/deployments","created_at":"2018-11-07T12:17:35Z","updated_at":"2018-11-27T16:49:25Z","pushed_at":"2018-11-28T12:05:36Z","git_url":"git://github.com/andela/helios-ah-backend.git","ssh_url":"git@github.com:andela/helios-ah-backend.git","clone_url":"https://github.com/andela/helios-ah-backend.git","svn_url":"https://github.com/andela/helios-ah-backend","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2"},"html":{"href":"https://github.com/andela/helios-ah-backend/pull/2"},"issue":{"href":"https://api.github.com/repos/andela/helios-ah-backend/issues/2"},"comments":{"href":"https://api.github.com/repos/andela/helios-ah-backend/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/andela/helios-ah-backend/statuses/7e89735cd7c9e67b6ec0ba37918a112c179a9883"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}