{"action":"created","comment":{"url":"https://api.github.com/repos/talis/talis.github.io/pulls/comments/58689457","id":58689457,"diff_hunk":"@@ -136,8 +136,51 @@ Where applicable, take advantage of media-query splitting[^5] in an effort to av\n }\n {% endhighlight %}\n \n+### JavaScript\n+\n+A comprehensive list of JavaScript style guide lines[^6] can be found on Airbnb webpage.\n+An ESLint[^7] configuration known as eslint-config-airbnb[^8] has been implemented based\n+on the style guide lines to help developers when working within an IDE. These are the\n+standards which our code should adhere to.\n+\n+The following configuration should be place either locally to the project or globally\n+at `~/.eslintrc`. The `env` and `extends` value should be adjusted to cater for the\n+project's needs.\n+```json\n+{\n+    \"rules\": {\n+        \"indent\": [\n+            2,\n+            4\n+        ],\n+        \"quotes\": [","path":"topics/code-style.md","position":22,"original_position":21,"commit_id":"f6b4f29490f4576c347e318062a0f6960bf71844","original_commit_id":"1cecab557113be86805a53980414ef37d4ab36ab","user":{"login":"pads","id":557957,"avatar_url":"https://avatars.githubusercontent.com/u/557957?v=3","gravatar_id":"","url":"https://api.github.com/users/pads","html_url":"https://github.com/pads","followers_url":"https://api.github.com/users/pads/followers","following_url":"https://api.github.com/users/pads/following{/other_user}","gists_url":"https://api.github.com/users/pads/gists{/gist_id}","starred_url":"https://api.github.com/users/pads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pads/subscriptions","organizations_url":"https://api.github.com/users/pads/orgs","repos_url":"https://api.github.com/users/pads/repos","events_url":"https://api.github.com/users/pads/events{/privacy}","received_events_url":"https://api.github.com/users/pads/received_events","type":"User","site_admin":false},"body":"Lets go without up-front overrides. If a developer needs to make an exception - they can use the comment-style override on a per-case basis and argue it in the code review. If, and only if these exceptions are common enough then we should think about changing the affected rule from the outset.","created_at":"2016-04-06T11:30:01Z","updated_at":"2016-04-06T11:30:01Z","html_url":"https://github.com/talis/talis.github.io/pull/31#discussion_r58689457","pull_request_url":"https://api.github.com/repos/talis/talis.github.io/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/talis/talis.github.io/pulls/comments/58689457"},"html":{"href":"https://github.com/talis/talis.github.io/pull/31#discussion_r58689457"},"pull_request":{"href":"https://api.github.com/repos/talis/talis.github.io/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/talis/talis.github.io/pulls/31","id":65389335,"html_url":"https://github.com/talis/talis.github.io/pull/31","diff_url":"https://github.com/talis/talis.github.io/pull/31.diff","patch_url":"https://github.com/talis/talis.github.io/pull/31.patch","issue_url":"https://api.github.com/repos/talis/talis.github.io/issues/31","number":31,"state":"open","locked":false,"title":"Define Javascript linting guidelines","user":{"login":"markwallsgrove","id":6328824,"avatar_url":"https://avatars.githubusercontent.com/u/6328824?v=3","gravatar_id":"","url":"https://api.github.com/users/markwallsgrove","html_url":"https://github.com/markwallsgrove","followers_url":"https://api.github.com/users/markwallsgrove/followers","following_url":"https://api.github.com/users/markwallsgrove/following{/other_user}","gists_url":"https://api.github.com/users/markwallsgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/markwallsgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markwallsgrove/subscriptions","organizations_url":"https://api.github.com/users/markwallsgrove/orgs","repos_url":"https://api.github.com/users/markwallsgrove/repos","events_url":"https://api.github.com/users/markwallsgrove/events{/privacy}","received_events_url":"https://api.github.com/users/markwallsgrove/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-05T23:38:14Z","updated_at":"2016-04-06T11:30:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b7d299665ba4250e53f270cf3b736e918a6083b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/talis/talis.github.io/pulls/31/commits","review_comments_url":"https://api.github.com/repos/talis/talis.github.io/pulls/31/comments","review_comment_url":"https://api.github.com/repos/talis/talis.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/talis/talis.github.io/issues/31/comments","statuses_url":"https://api.github.com/repos/talis/talis.github.io/statuses/f6b4f29490f4576c347e318062a0f6960bf71844","head":{"label":"talis:js-linting","ref":"js-linting","sha":"f6b4f29490f4576c347e318062a0f6960bf71844","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":11351973,"name":"talis.github.io","full_name":"talis/talis.github.io","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/talis.github.io","description":"","fork":false,"url":"https://api.github.com/repos/talis/talis.github.io","forks_url":"https://api.github.com/repos/talis/talis.github.io/forks","keys_url":"https://api.github.com/repos/talis/talis.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/talis.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/talis.github.io/teams","hooks_url":"https://api.github.com/repos/talis/talis.github.io/hooks","issue_events_url":"https://api.github.com/repos/talis/talis.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/talis/talis.github.io/events","assignees_url":"https://api.github.com/repos/talis/talis.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/talis/talis.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/talis/talis.github.io/tags","blobs_url":"https://api.github.com/repos/talis/talis.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/talis.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/talis.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/talis.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/talis.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/talis.github.io/languages","stargazers_url":"https://api.github.com/repos/talis/talis.github.io/stargazers","contributors_url":"https://api.github.com/repos/talis/talis.github.io/contributors","subscribers_url":"https://api.github.com/repos/talis/talis.github.io/subscribers","subscription_url":"https://api.github.com/repos/talis/talis.github.io/subscription","commits_url":"https://api.github.com/repos/talis/talis.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/talis.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/talis.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/talis.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/talis.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/talis/talis.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/talis.github.io/merges","archive_url":"https://api.github.com/repos/talis/talis.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/talis.github.io/downloads","issues_url":"https://api.github.com/repos/talis/talis.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/talis/talis.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/talis.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/talis.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/talis.github.io/labels{/name}","releases_url":"https://api.github.com/repos/talis/talis.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/talis/talis.github.io/deployments","created_at":"2013-07-11T20:15:18Z","updated_at":"2016-02-25T19:35:29Z","pushed_at":"2016-04-06T09:33:24Z","git_url":"git://github.com/talis/talis.github.io.git","ssh_url":"git@github.com:talis/talis.github.io.git","clone_url":"https://github.com/talis/talis.github.io.git","svn_url":"https://github.com/talis/talis.github.io","homepage":null,"size":827,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"talis:master","ref":"master","sha":"33ee79ec520199103223596a24ffd2cde3085107","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":11351973,"name":"talis.github.io","full_name":"talis/talis.github.io","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/talis.github.io","description":"","fork":false,"url":"https://api.github.com/repos/talis/talis.github.io","forks_url":"https://api.github.com/repos/talis/talis.github.io/forks","keys_url":"https://api.github.com/repos/talis/talis.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/talis.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/talis.github.io/teams","hooks_url":"https://api.github.com/repos/talis/talis.github.io/hooks","issue_events_url":"https://api.github.com/repos/talis/talis.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/talis/talis.github.io/events","assignees_url":"https://api.github.com/repos/talis/talis.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/talis/talis.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/talis/talis.github.io/tags","blobs_url":"https://api.github.com/repos/talis/talis.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/talis.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/talis.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/talis.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/talis.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/talis.github.io/languages","stargazers_url":"https://api.github.com/repos/talis/talis.github.io/stargazers","contributors_url":"https://api.github.com/repos/talis/talis.github.io/contributors","subscribers_url":"https://api.github.com/repos/talis/talis.github.io/subscribers","subscription_url":"https://api.github.com/repos/talis/talis.github.io/subscription","commits_url":"https://api.github.com/repos/talis/talis.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/talis.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/talis.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/talis.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/talis.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/talis/talis.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/talis.github.io/merges","archive_url":"https://api.github.com/repos/talis/talis.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/talis.github.io/downloads","issues_url":"https://api.github.com/repos/talis/talis.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/talis/talis.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/talis.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/talis.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/talis.github.io/labels{/name}","releases_url":"https://api.github.com/repos/talis/talis.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/talis/talis.github.io/deployments","created_at":"2013-07-11T20:15:18Z","updated_at":"2016-02-25T19:35:29Z","pushed_at":"2016-04-06T09:33:24Z","git_url":"git://github.com/talis/talis.github.io.git","ssh_url":"git@github.com:talis/talis.github.io.git","clone_url":"https://github.com/talis/talis.github.io.git","svn_url":"https://github.com/talis/talis.github.io","homepage":null,"size":827,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/talis/talis.github.io/pulls/31"},"html":{"href":"https://github.com/talis/talis.github.io/pull/31"},"issue":{"href":"https://api.github.com/repos/talis/talis.github.io/issues/31"},"comments":{"href":"https://api.github.com/repos/talis/talis.github.io/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/talis/talis.github.io/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/talis/talis.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/talis/talis.github.io/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/talis/talis.github.io/statuses/f6b4f29490f4576c347e318062a0f6960bf71844"}}}}