{"action":"created","comment":{"url":"https://api.github.com/repos/netguru/hound/pulls/comments/81773619","pull_request_review_id":2728545,"id":81773619,"diff_hunk":"@@ -0,0 +1,21 @@\n+class ResolveConfigConflicts\n+  CONFLICTS = { \"eslint\" => \"jshint\" }.freeze\n+\n+  def self.run(config)\n+    new(config).run\n+  end\n+\n+  def initialize(config)\n+    @config = config\n+  end\n+\n+  def run\n+    @config.reduce({}) do |resolved_config, (linter, options)|","path":"app/services/resolve_config_conflicts.rb","position":13,"original_position":13,"commit_id":"1355d75425b1fc1927724c079b11298cf3cbeec2","original_commit_id":"1355d75425b1fc1927724c079b11298cf3cbeec2","user":{"login":"netguru-hound","id":8405163,"avatar_url":"https://avatars.githubusercontent.com/u/8405163?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru-hound","html_url":"https://github.com/netguru-hound","followers_url":"https://api.github.com/users/netguru-hound/followers","following_url":"https://api.github.com/users/netguru-hound/following{/other_user}","gists_url":"https://api.github.com/users/netguru-hound/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru-hound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru-hound/subscriptions","organizations_url":"https://api.github.com/users/netguru-hound/orgs","repos_url":"https://api.github.com/users/netguru-hound/repos","events_url":"https://api.github.com/users/netguru-hound/events{/privacy}","received_events_url":"https://api.github.com/users/netguru-hound/received_events","type":"User","site_admin":false},"body":"Prefer `inject` over `reduce`.","created_at":"2016-10-04T14:46:24Z","updated_at":"2016-10-04T14:46:24Z","html_url":"https://github.com/netguru/hound/pull/22#discussion_r81773619","pull_request_url":"https://api.github.com/repos/netguru/hound/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/netguru/hound/pulls/comments/81773619"},"html":{"href":"https://github.com/netguru/hound/pull/22#discussion_r81773619"},"pull_request":{"href":"https://api.github.com/repos/netguru/hound/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/netguru/hound/pulls/22","id":87907150,"html_url":"https://github.com/netguru/hound/pull/22","diff_url":"https://github.com/netguru/hound/pull/22.diff","patch_url":"https://github.com/netguru/hound/pull/22.patch","issue_url":"https://api.github.com/repos/netguru/hound/issues/22","number":22,"state":"open","locked":false,"title":"fork sync with remote","user":{"login":"mateuszwasowski","id":11407731,"avatar_url":"https://avatars.githubusercontent.com/u/11407731?v=3","gravatar_id":"","url":"https://api.github.com/users/mateuszwasowski","html_url":"https://github.com/mateuszwasowski","followers_url":"https://api.github.com/users/mateuszwasowski/followers","following_url":"https://api.github.com/users/mateuszwasowski/following{/other_user}","gists_url":"https://api.github.com/users/mateuszwasowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mateuszwasowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateuszwasowski/subscriptions","organizations_url":"https://api.github.com/users/mateuszwasowski/orgs","repos_url":"https://api.github.com/users/mateuszwasowski/repos","events_url":"https://api.github.com/users/mateuszwasowski/events{/privacy}","received_events_url":"https://api.github.com/users/mateuszwasowski/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-04T14:38:09Z","updated_at":"2016-10-04T14:46:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d8abafc48a29327ce19b13ec6ce210461145c3f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/netguru/hound/pulls/22/commits","review_comments_url":"https://api.github.com/repos/netguru/hound/pulls/22/comments","review_comment_url":"https://api.github.com/repos/netguru/hound/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netguru/hound/issues/22/comments","statuses_url":"https://api.github.com/repos/netguru/hound/statuses/1355d75425b1fc1927724c079b11298cf3cbeec2","head":{"label":"netguru:houndci-master","ref":"houndci-master","sha":"1355d75425b1fc1927724c079b11298cf3cbeec2","user":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"repo":{"id":22796987,"name":"hound","full_name":"netguru/hound","owner":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netguru/hound","description":"Take care of pesky code reviews with a trusty Hound.","fork":true,"url":"https://api.github.com/repos/netguru/hound","forks_url":"https://api.github.com/repos/netguru/hound/forks","keys_url":"https://api.github.com/repos/netguru/hound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netguru/hound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netguru/hound/teams","hooks_url":"https://api.github.com/repos/netguru/hound/hooks","issue_events_url":"https://api.github.com/repos/netguru/hound/issues/events{/number}","events_url":"https://api.github.com/repos/netguru/hound/events","assignees_url":"https://api.github.com/repos/netguru/hound/assignees{/user}","branches_url":"https://api.github.com/repos/netguru/hound/branches{/branch}","tags_url":"https://api.github.com/repos/netguru/hound/tags","blobs_url":"https://api.github.com/repos/netguru/hound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netguru/hound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netguru/hound/git/refs{/sha}","trees_url":"https://api.github.com/repos/netguru/hound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netguru/hound/statuses/{sha}","languages_url":"https://api.github.com/repos/netguru/hound/languages","stargazers_url":"https://api.github.com/repos/netguru/hound/stargazers","contributors_url":"https://api.github.com/repos/netguru/hound/contributors","subscribers_url":"https://api.github.com/repos/netguru/hound/subscribers","subscription_url":"https://api.github.com/repos/netguru/hound/subscription","commits_url":"https://api.github.com/repos/netguru/hound/commits{/sha}","git_commits_url":"https://api.github.com/repos/netguru/hound/git/commits{/sha}","comments_url":"https://api.github.com/repos/netguru/hound/comments{/number}","issue_comment_url":"https://api.github.com/repos/netguru/hound/issues/comments{/number}","contents_url":"https://api.github.com/repos/netguru/hound/contents/{+path}","compare_url":"https://api.github.com/repos/netguru/hound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netguru/hound/merges","archive_url":"https://api.github.com/repos/netguru/hound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netguru/hound/downloads","issues_url":"https://api.github.com/repos/netguru/hound/issues{/number}","pulls_url":"https://api.github.com/repos/netguru/hound/pulls{/number}","milestones_url":"https://api.github.com/repos/netguru/hound/milestones{/number}","notifications_url":"https://api.github.com/repos/netguru/hound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netguru/hound/labels{/name}","releases_url":"https://api.github.com/repos/netguru/hound/releases{/id}","deployments_url":"https://api.github.com/repos/netguru/hound/deployments","created_at":"2014-08-09T22:59:21Z","updated_at":"2016-02-09T09:40:42Z","pushed_at":"2016-10-04T14:41:24Z","git_url":"git://github.com/netguru/hound.git","ssh_url":"git@github.com:netguru/hound.git","clone_url":"https://github.com/netguru/hound.git","svn_url":"https://github.com/netguru/hound","homepage":"https://houndci.com","size":3510,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"netguru:master","ref":"master","sha":"a530f3f8c44776ac4d79a351a0ac1708e219c15e","user":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"repo":{"id":22796987,"name":"hound","full_name":"netguru/hound","owner":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netguru/hound","description":"Take care of pesky code reviews with a trusty Hound.","fork":true,"url":"https://api.github.com/repos/netguru/hound","forks_url":"https://api.github.com/repos/netguru/hound/forks","keys_url":"https://api.github.com/repos/netguru/hound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netguru/hound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netguru/hound/teams","hooks_url":"https://api.github.com/repos/netguru/hound/hooks","issue_events_url":"https://api.github.com/repos/netguru/hound/issues/events{/number}","events_url":"https://api.github.com/repos/netguru/hound/events","assignees_url":"https://api.github.com/repos/netguru/hound/assignees{/user}","branches_url":"https://api.github.com/repos/netguru/hound/branches{/branch}","tags_url":"https://api.github.com/repos/netguru/hound/tags","blobs_url":"https://api.github.com/repos/netguru/hound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netguru/hound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netguru/hound/git/refs{/sha}","trees_url":"https://api.github.com/repos/netguru/hound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netguru/hound/statuses/{sha}","languages_url":"https://api.github.com/repos/netguru/hound/languages","stargazers_url":"https://api.github.com/repos/netguru/hound/stargazers","contributors_url":"https://api.github.com/repos/netguru/hound/contributors","subscribers_url":"https://api.github.com/repos/netguru/hound/subscribers","subscription_url":"https://api.github.com/repos/netguru/hound/subscription","commits_url":"https://api.github.com/repos/netguru/hound/commits{/sha}","git_commits_url":"https://api.github.com/repos/netguru/hound/git/commits{/sha}","comments_url":"https://api.github.com/repos/netguru/hound/comments{/number}","issue_comment_url":"https://api.github.com/repos/netguru/hound/issues/comments{/number}","contents_url":"https://api.github.com/repos/netguru/hound/contents/{+path}","compare_url":"https://api.github.com/repos/netguru/hound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netguru/hound/merges","archive_url":"https://api.github.com/repos/netguru/hound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netguru/hound/downloads","issues_url":"https://api.github.com/repos/netguru/hound/issues{/number}","pulls_url":"https://api.github.com/repos/netguru/hound/pulls{/number}","milestones_url":"https://api.github.com/repos/netguru/hound/milestones{/number}","notifications_url":"https://api.github.com/repos/netguru/hound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netguru/hound/labels{/name}","releases_url":"https://api.github.com/repos/netguru/hound/releases{/id}","deployments_url":"https://api.github.com/repos/netguru/hound/deployments","created_at":"2014-08-09T22:59:21Z","updated_at":"2016-02-09T09:40:42Z","pushed_at":"2016-10-04T14:41:24Z","git_url":"git://github.com/netguru/hound.git","ssh_url":"git@github.com:netguru/hound.git","clone_url":"https://github.com/netguru/hound.git","svn_url":"https://github.com/netguru/hound","homepage":"https://houndci.com","size":3510,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netguru/hound/pulls/22"},"html":{"href":"https://github.com/netguru/hound/pull/22"},"issue":{"href":"https://api.github.com/repos/netguru/hound/issues/22"},"comments":{"href":"https://api.github.com/repos/netguru/hound/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/netguru/hound/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/netguru/hound/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netguru/hound/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/netguru/hound/statuses/1355d75425b1fc1927724c079b11298cf3cbeec2"}}}}
{"actor":{"display_login":"netguru-hound"}}