{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/1","id":234280247,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MjgwMjQ3","html_url":"https://github.com/andela/selene-ah-backend/pull/1","diff_url":"https://github.com/andela/selene-ah-backend/pull/1.diff","patch_url":"https://github.com/andela/selene-ah-backend/pull/1.patch","issue_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/1","number":1,"state":"open","locked":false,"title":"#[#161779855] add eslint config file","user":{"login":"theghostyced","id":28215750,"node_id":"MDQ6VXNlcjI4MjE1NzUw","avatar_url":"https://avatars1.githubusercontent.com/u/28215750?v=4","gravatar_id":"","url":"https://api.github.com/users/theghostyced","html_url":"https://github.com/theghostyced","followers_url":"https://api.github.com/users/theghostyced/followers","following_url":"https://api.github.com/users/theghostyced/following{/other_user}","gists_url":"https://api.github.com/users/theghostyced/gists{/gist_id}","starred_url":"https://api.github.com/users/theghostyced/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theghostyced/subscriptions","organizations_url":"https://api.github.com/users/theghostyced/orgs","repos_url":"https://api.github.com/users/theghostyced/repos","events_url":"https://api.github.com/users/theghostyced/events{/privacy}","received_events_url":"https://api.github.com/users/theghostyced/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nAdds ESLint config file to project\r\n\r\n#### Description of Task to be completed?\r\nHave the following rules implemented in the `.eslintrc` file\r\n```\r\n {\r\n  \"root\": true,\r\n  \"env\": {\r\n    \"browser\": true,\r\n    \"es6\": true,\r\n    \"node\": true,\r\n    \"mocha\": true\r\n  },\r\n  \"extends\": \"airbnb\",\r\n  \"parser\": \"babel-eslint\",\r\n  \"parserOptions\": {\r\n    \"sourceType\": \"module\",\r\n    \"ecmaVersion\": 6\r\n  },\r\n  \"rules\": {\r\n    \"one-var\": 0,\r\n    \"one-var-declaration-per-line\": 0,\r\n    \"new-cap\": 0,\r\n    \"consistent-return\": 0,\r\n    \"no-param-reassign\": 0,\r\n    \"comma-dangle\": 0,\r\n    \"curly\": [\"error\", \"multi-line\"],\r\n    \"import/no-unresolved\": [2, { \"commonjs\": true }],\r\n    \"no-shadow\": [\"error\", { \"allow\": [\"req\", \"res\", \"err\"] }],\r\n    \"valid-jsdoc\": [\"error\", {\r\n      \"requireReturn\": true,\r\n      \"requireReturnType\": true,\r\n      \"requireParamDescription\": false,\r\n      \"requireReturnDescription\": true\r\n    }],\r\n    \"require-jsdoc\": [\"error\", {\r\n        \"require\": {\r\n            \"FunctionDeclaration\": true,\r\n            \"MethodDefinition\": true,\r\n            \"ClassDeclaration\": true\r\n        }\r\n    }]\r\n  }\r\n}\r\n```\r\n#### How should this be manually tested?\r\nCheck the `.eslintrc` file\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#161779855](https://www.pivotaltracker.com/story/show/161779855)\r\n\r\n#### Screenshots (if appropriate)\r\nN/A\r\n\r\n#### Questions:\r\nN/A","created_at":"2018-11-28T13:41:07Z","updated_at":"2018-11-28T13:41:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/1/commits","review_comments_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/1/comments","review_comment_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/1/comments","statuses_url":"https://api.github.com/repos/andela/selene-ah-backend/statuses/b93e29018079a8d758bf9dc71feaa42041196953","head":{"label":"andela:ch-configure-eslint-#161779855","ref":"ch-configure-eslint-#161779855","sha":"b93e29018079a8d758bf9dc71feaa42041196953","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":156542739,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDI3Mzk=","name":"selene-ah-backend","full_name":"andela/selene-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/selene-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/selene-ah-backend","forks_url":"https://api.github.com/repos/andela/selene-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/selene-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/selene-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/selene-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/selene-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/selene-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/selene-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/selene-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/selene-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/selene-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/selene-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/selene-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/selene-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/selene-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/selene-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/selene-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/selene-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/selene-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/selene-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/selene-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/selene-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/selene-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/selene-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/selene-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/selene-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/selene-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/selene-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/selene-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/selene-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/selene-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/selene-ah-backend/deployments","created_at":"2018-11-07T12:24:04Z","updated_at":"2018-11-07T12:37:16Z","pushed_at":"2018-11-28T13:04:02Z","git_url":"git://github.com/andela/selene-ah-backend.git","ssh_url":"git@github.com:andela/selene-ah-backend.git","clone_url":"https://github.com/andela/selene-ah-backend.git","svn_url":"https://github.com/andela/selene-ah-backend","homepage":null,"size":17,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"56d1c2b05ee20fdbcfa3bc8e940012fc17cff817","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":156542739,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDI3Mzk=","name":"selene-ah-backend","full_name":"andela/selene-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/selene-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/selene-ah-backend","forks_url":"https://api.github.com/repos/andela/selene-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/selene-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/selene-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/selene-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/selene-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/selene-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/selene-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/selene-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/selene-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/selene-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/selene-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/selene-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/selene-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/selene-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/selene-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/selene-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/selene-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/selene-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/selene-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/selene-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/selene-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/selene-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/selene-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/selene-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/selene-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/selene-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/selene-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/selene-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/selene-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/selene-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/selene-ah-backend/deployments","created_at":"2018-11-07T12:24:04Z","updated_at":"2018-11-07T12:37:16Z","pushed_at":"2018-11-28T13:04:02Z","git_url":"git://github.com/andela/selene-ah-backend.git","ssh_url":"git@github.com:andela/selene-ah-backend.git","clone_url":"https://github.com/andela/selene-ah-backend.git","svn_url":"https://github.com/andela/selene-ah-backend","homepage":null,"size":17,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/1"},"html":{"href":"https://github.com/andela/selene-ah-backend/pull/1"},"issue":{"href":"https://api.github.com/repos/andela/selene-ah-backend/issues/1"},"comments":{"href":"https://api.github.com/repos/andela/selene-ah-backend/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/andela/selene-ah-backend/statuses/b93e29018079a8d758bf9dc71feaa42041196953"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2362,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"theghostyced"}}