{"action":"created","issue":{"url":"https://api.github.com/repos/andela/selene-ah-backend/issues/1","repository_url":"https://api.github.com/repos/andela/selene-ah-backend","labels_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/1/comments","events_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/1/events","html_url":"https://github.com/andela/selene-ah-backend/pull/1","id":385273019,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MjgwMjQ3","number":1,"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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T13:41:07Z","updated_at":"2018-11-28T14:42:30Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/1","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"},"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"},"comment":{"url":"https://api.github.com/repos/andela/selene-ah-backend/issues/comments/442470455","html_url":"https://github.com/andela/selene-ah-backend/pull/1#issuecomment-442470455","issue_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/1","id":442470455,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQ3MDQ1NQ==","user":{"login":"JohnMadakin","id":36252436,"node_id":"MDQ6VXNlcjM2MjUyNDM2","avatar_url":"https://avatars1.githubusercontent.com/u/36252436?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnMadakin","html_url":"https://github.com/JohnMadakin","followers_url":"https://api.github.com/users/JohnMadakin/followers","following_url":"https://api.github.com/users/JohnMadakin/following{/other_user}","gists_url":"https://api.github.com/users/JohnMadakin/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnMadakin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnMadakin/subscriptions","organizations_url":"https://api.github.com/users/JohnMadakin/orgs","repos_url":"https://api.github.com/users/JohnMadakin/repos","events_url":"https://api.github.com/users/JohnMadakin/events{/privacy}","received_events_url":"https://api.github.com/users/JohnMadakin/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T14:42:30Z","updated_at":"2018-11-28T14:42:30Z","author_association":"COLLABORATOR","body":"nice work Daniel. But you don't need the square bracket in the title"}}
{"actor":{"display_login":"JohnMadakin"}}