{"action":"created","comment":{"url":"https://api.github.com/repos/subvisual/guides/pulls/comments/51701056","id":51701056,"diff_hunk":"@@ -0,0 +1,12 @@\n+{\n+  \"extends\": \"airbnb\",\n+  \"parser\": \"babel-eslint\",\n+  \"rules\": {\n+    \"consistent-return\": 0,\n+    \"id-length\": [2, {\"exceptions\": [\"_\", \"x\", \"y\"]}],","path":"linters/javascript/.eslintrc","position":6,"original_position":6,"commit_id":"92eb24dcf6422a60c2df1f7ed7bb6e54b711601f","original_commit_id":"92eb24dcf6422a60c2df1f7ed7bb6e54b711601f","user":{"login":"naps62","id":283819,"avatar_url":"https://avatars.githubusercontent.com/u/283819?v=3","gravatar_id":"","url":"https://api.github.com/users/naps62","html_url":"https://github.com/naps62","followers_url":"https://api.github.com/users/naps62/followers","following_url":"https://api.github.com/users/naps62/following{/other_user}","gists_url":"https://api.github.com/users/naps62/gists{/gist_id}","starred_url":"https://api.github.com/users/naps62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naps62/subscriptions","organizations_url":"https://api.github.com/users/naps62/orgs","repos_url":"https://api.github.com/users/naps62/repos","events_url":"https://api.github.com/users/naps62/events{/privacy}","received_events_url":"https://api.github.com/users/naps62/received_events","type":"User","site_admin":false},"body":"may I ask what this is?\r\nwe can't have variables with one character, unless they're x or y?","created_at":"2016-02-03T10:11:42Z","updated_at":"2016-02-03T10:11:42Z","html_url":"https://github.com/subvisual/guides/pull/11#discussion_r51701056","pull_request_url":"https://api.github.com/repos/subvisual/guides/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/subvisual/guides/pulls/comments/51701056"},"html":{"href":"https://github.com/subvisual/guides/pull/11#discussion_r51701056"},"pull_request":{"href":"https://api.github.com/repos/subvisual/guides/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/subvisual/guides/pulls/11","id":58114896,"html_url":"https://github.com/subvisual/guides/pull/11","diff_url":"https://github.com/subvisual/guides/pull/11.diff","patch_url":"https://github.com/subvisual/guides/pull/11.patch","issue_url":"https://api.github.com/repos/subvisual/guides/issues/11","number":11,"state":"open","locked":false,"title":"Add eslint config to be used in most JavaScript projects","user":{"login":"gabrielpoca","id":934580,"avatar_url":"https://avatars.githubusercontent.com/u/934580?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielpoca","html_url":"https://github.com/gabrielpoca","followers_url":"https://api.github.com/users/gabrielpoca/followers","following_url":"https://api.github.com/users/gabrielpoca/following{/other_user}","gists_url":"https://api.github.com/users/gabrielpoca/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielpoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielpoca/subscriptions","organizations_url":"https://api.github.com/users/gabrielpoca/orgs","repos_url":"https://api.github.com/users/gabrielpoca/repos","events_url":"https://api.github.com/users/gabrielpoca/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielpoca/received_events","type":"User","site_admin":false},"body":"Why:\r\n\r\n* We want our JS style to be uniform across projects.\r\n\r\n* This configuration makes two assumptions about the project: (a) it is\r\nusing Babel, (b) it is using react. It may not be the case for every\r\nproject, but because this is the direction we are moving towards it is\r\njustified to have it on the configuration.\r\n\r\n* There is a third assumption: it is a front-end project. This is an assumption because you don't want to transpile code running in node. There are already some es6 features available in node 4, but this configuration will not work. I'll submit a different file to use with node projects.\r\n\r\nThis change addresses the need by:\r\n\r\n* Adding a `.eslintrc` file.","created_at":"2016-02-03T10:03:56Z","updated_at":"2016-02-03T10:11:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9689c5699fdd683ca40b4f96b915767aecd38bc1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/subvisual/guides/pulls/11/commits","review_comments_url":"https://api.github.com/repos/subvisual/guides/pulls/11/comments","review_comment_url":"https://api.github.com/repos/subvisual/guides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/subvisual/guides/issues/11/comments","statuses_url":"https://api.github.com/repos/subvisual/guides/statuses/92eb24dcf6422a60c2df1f7ed7bb6e54b711601f","head":{"label":"subvisual:gp-eslint","ref":"gp-eslint","sha":"92eb24dcf6422a60c2df1f7ed7bb6e54b711601f","user":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"repo":{"id":31037758,"name":"guides","full_name":"subvisual/guides","owner":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/subvisual/guides","description":"","fork":false,"url":"https://api.github.com/repos/subvisual/guides","forks_url":"https://api.github.com/repos/subvisual/guides/forks","keys_url":"https://api.github.com/repos/subvisual/guides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/subvisual/guides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/subvisual/guides/teams","hooks_url":"https://api.github.com/repos/subvisual/guides/hooks","issue_events_url":"https://api.github.com/repos/subvisual/guides/issues/events{/number}","events_url":"https://api.github.com/repos/subvisual/guides/events","assignees_url":"https://api.github.com/repos/subvisual/guides/assignees{/user}","branches_url":"https://api.github.com/repos/subvisual/guides/branches{/branch}","tags_url":"https://api.github.com/repos/subvisual/guides/tags","blobs_url":"https://api.github.com/repos/subvisual/guides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/subvisual/guides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/subvisual/guides/git/refs{/sha}","trees_url":"https://api.github.com/repos/subvisual/guides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/subvisual/guides/statuses/{sha}","languages_url":"https://api.github.com/repos/subvisual/guides/languages","stargazers_url":"https://api.github.com/repos/subvisual/guides/stargazers","contributors_url":"https://api.github.com/repos/subvisual/guides/contributors","subscribers_url":"https://api.github.com/repos/subvisual/guides/subscribers","subscription_url":"https://api.github.com/repos/subvisual/guides/subscription","commits_url":"https://api.github.com/repos/subvisual/guides/commits{/sha}","git_commits_url":"https://api.github.com/repos/subvisual/guides/git/commits{/sha}","comments_url":"https://api.github.com/repos/subvisual/guides/comments{/number}","issue_comment_url":"https://api.github.com/repos/subvisual/guides/issues/comments{/number}","contents_url":"https://api.github.com/repos/subvisual/guides/contents/{+path}","compare_url":"https://api.github.com/repos/subvisual/guides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/subvisual/guides/merges","archive_url":"https://api.github.com/repos/subvisual/guides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/subvisual/guides/downloads","issues_url":"https://api.github.com/repos/subvisual/guides/issues{/number}","pulls_url":"https://api.github.com/repos/subvisual/guides/pulls{/number}","milestones_url":"https://api.github.com/repos/subvisual/guides/milestones{/number}","notifications_url":"https://api.github.com/repos/subvisual/guides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/subvisual/guides/labels{/name}","releases_url":"https://api.github.com/repos/subvisual/guides/releases{/id}","deployments_url":"https://api.github.com/repos/subvisual/guides/deployments","created_at":"2015-02-19T21:26:13Z","updated_at":"2016-02-01T15:24:06Z","pushed_at":"2016-02-03T10:03:56Z","git_url":"git://github.com/subvisual/guides.git","ssh_url":"git@github.com:subvisual/guides.git","clone_url":"https://github.com/subvisual/guides.git","svn_url":"https://github.com/subvisual/guides","homepage":null,"size":111,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":5,"default_branch":"master"}},"base":{"label":"subvisual:master","ref":"master","sha":"d367466f3c2add120b045633e61a3b2606e4b8b1","user":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"repo":{"id":31037758,"name":"guides","full_name":"subvisual/guides","owner":{"login":"subvisual","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/subvisual","html_url":"https://github.com/subvisual","followers_url":"https://api.github.com/users/subvisual/followers","following_url":"https://api.github.com/users/subvisual/following{/other_user}","gists_url":"https://api.github.com/users/subvisual/gists{/gist_id}","starred_url":"https://api.github.com/users/subvisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvisual/subscriptions","organizations_url":"https://api.github.com/users/subvisual/orgs","repos_url":"https://api.github.com/users/subvisual/repos","events_url":"https://api.github.com/users/subvisual/events{/privacy}","received_events_url":"https://api.github.com/users/subvisual/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/subvisual/guides","description":"","fork":false,"url":"https://api.github.com/repos/subvisual/guides","forks_url":"https://api.github.com/repos/subvisual/guides/forks","keys_url":"https://api.github.com/repos/subvisual/guides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/subvisual/guides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/subvisual/guides/teams","hooks_url":"https://api.github.com/repos/subvisual/guides/hooks","issue_events_url":"https://api.github.com/repos/subvisual/guides/issues/events{/number}","events_url":"https://api.github.com/repos/subvisual/guides/events","assignees_url":"https://api.github.com/repos/subvisual/guides/assignees{/user}","branches_url":"https://api.github.com/repos/subvisual/guides/branches{/branch}","tags_url":"https://api.github.com/repos/subvisual/guides/tags","blobs_url":"https://api.github.com/repos/subvisual/guides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/subvisual/guides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/subvisual/guides/git/refs{/sha}","trees_url":"https://api.github.com/repos/subvisual/guides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/subvisual/guides/statuses/{sha}","languages_url":"https://api.github.com/repos/subvisual/guides/languages","stargazers_url":"https://api.github.com/repos/subvisual/guides/stargazers","contributors_url":"https://api.github.com/repos/subvisual/guides/contributors","subscribers_url":"https://api.github.com/repos/subvisual/guides/subscribers","subscription_url":"https://api.github.com/repos/subvisual/guides/subscription","commits_url":"https://api.github.com/repos/subvisual/guides/commits{/sha}","git_commits_url":"https://api.github.com/repos/subvisual/guides/git/commits{/sha}","comments_url":"https://api.github.com/repos/subvisual/guides/comments{/number}","issue_comment_url":"https://api.github.com/repos/subvisual/guides/issues/comments{/number}","contents_url":"https://api.github.com/repos/subvisual/guides/contents/{+path}","compare_url":"https://api.github.com/repos/subvisual/guides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/subvisual/guides/merges","archive_url":"https://api.github.com/repos/subvisual/guides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/subvisual/guides/downloads","issues_url":"https://api.github.com/repos/subvisual/guides/issues{/number}","pulls_url":"https://api.github.com/repos/subvisual/guides/pulls{/number}","milestones_url":"https://api.github.com/repos/subvisual/guides/milestones{/number}","notifications_url":"https://api.github.com/repos/subvisual/guides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/subvisual/guides/labels{/name}","releases_url":"https://api.github.com/repos/subvisual/guides/releases{/id}","deployments_url":"https://api.github.com/repos/subvisual/guides/deployments","created_at":"2015-02-19T21:26:13Z","updated_at":"2016-02-01T15:24:06Z","pushed_at":"2016-02-03T10:03:56Z","git_url":"git://github.com/subvisual/guides.git","ssh_url":"git@github.com:subvisual/guides.git","clone_url":"https://github.com/subvisual/guides.git","svn_url":"https://github.com/subvisual/guides","homepage":null,"size":111,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/subvisual/guides/pulls/11"},"html":{"href":"https://github.com/subvisual/guides/pull/11"},"issue":{"href":"https://api.github.com/repos/subvisual/guides/issues/11"},"comments":{"href":"https://api.github.com/repos/subvisual/guides/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/subvisual/guides/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/subvisual/guides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/subvisual/guides/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/subvisual/guides/statuses/92eb24dcf6422a60c2df1f7ed7bb6e54b711601f"}}}}