{"action":"closed","number":2358,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/2358","id":33877078,"html_url":"https://github.com/eslint/eslint/pull/2358","diff_url":"https://github.com/eslint/eslint/pull/2358.diff","patch_url":"https://github.com/eslint/eslint/pull/2358.patch","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2358","number":2358,"state":"closed","locked":false,"title":"Add \"grouped\" formatter","user":{"login":"jackfranklin","id":193238,"avatar_url":"https://avatars.githubusercontent.com/u/193238?v=3","gravatar_id":"","url":"https://api.github.com/users/jackfranklin","html_url":"https://github.com/jackfranklin","followers_url":"https://api.github.com/users/jackfranklin/followers","following_url":"https://api.github.com/users/jackfranklin/following{/other_user}","gists_url":"https://api.github.com/users/jackfranklin/gists{/gist_id}","starred_url":"https://api.github.com/users/jackfranklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackfranklin/subscriptions","organizations_url":"https://api.github.com/users/jackfranklin/orgs","repos_url":"https://api.github.com/users/jackfranklin/repos","events_url":"https://api.github.com/users/jackfranklin/events{/privacy}","received_events_url":"https://api.github.com/users/jackfranklin/received_events","type":"User","site_admin":false},"body":"This outputs all warnings first, and then all errors. Useful for CLI\r\ntools where you want to see warnings and errors but care more at first\r\nabout the errors.\r\n\r\nLooks like so:\r\n\r\n![screen shot 2015-04-22 at 17 39 18](https://cloud.githubusercontent.com/assets/193238/7279838/b2974ce2-e916-11e4-873e-c3e66af6b88e.png)\r\n\r\nStole a lot from the stylish formatter - largely the same (maybe worth looking at de-duping?) except I just gather up all warnings, output those, and then do the same with errors.\r\n\r\nI've also just signed the CLA.\r\n\r\nLet me know what you think - and thanks for an awesome tool! :)\r\n\r\nJack","created_at":"2015-04-22T16:41:14Z","updated_at":"2015-04-23T00:24:54Z","closed_at":"2015-04-23T00:24:54Z","merged_at":null,"merge_commit_sha":"9a68a8e94b723184f193daf30da4f5d81c2251e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eslint/eslint/pulls/2358/commits","review_comments_url":"https://api.github.com/repos/eslint/eslint/pulls/2358/comments","review_comment_url":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2358/comments","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/3aad33ccd45ff3adeebc81f3b6516c28986ac619","head":{"label":"jackfranklin:add-grouped-formatter","ref":"add-grouped-formatter","sha":"3aad33ccd45ff3adeebc81f3b6516c28986ac619","user":{"login":"jackfranklin","id":193238,"avatar_url":"https://avatars.githubusercontent.com/u/193238?v=3","gravatar_id":"","url":"https://api.github.com/users/jackfranklin","html_url":"https://github.com/jackfranklin","followers_url":"https://api.github.com/users/jackfranklin/followers","following_url":"https://api.github.com/users/jackfranklin/following{/other_user}","gists_url":"https://api.github.com/users/jackfranklin/gists{/gist_id}","starred_url":"https://api.github.com/users/jackfranklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackfranklin/subscriptions","organizations_url":"https://api.github.com/users/jackfranklin/orgs","repos_url":"https://api.github.com/users/jackfranklin/repos","events_url":"https://api.github.com/users/jackfranklin/events{/privacy}","received_events_url":"https://api.github.com/users/jackfranklin/received_events","type":"User","site_admin":false},"repo":{"id":34124561,"name":"eslint","full_name":"jackfranklin/eslint","owner":{"login":"jackfranklin","id":193238,"avatar_url":"https://avatars.githubusercontent.com/u/193238?v=3","gravatar_id":"","url":"https://api.github.com/users/jackfranklin","html_url":"https://github.com/jackfranklin","followers_url":"https://api.github.com/users/jackfranklin/followers","following_url":"https://api.github.com/users/jackfranklin/following{/other_user}","gists_url":"https://api.github.com/users/jackfranklin/gists{/gist_id}","starred_url":"https://api.github.com/users/jackfranklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackfranklin/subscriptions","organizations_url":"https://api.github.com/users/jackfranklin/orgs","repos_url":"https://api.github.com/users/jackfranklin/repos","events_url":"https://api.github.com/users/jackfranklin/events{/privacy}","received_events_url":"https://api.github.com/users/jackfranklin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackfranklin/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":true,"url":"https://api.github.com/repos/jackfranklin/eslint","forks_url":"https://api.github.com/repos/jackfranklin/eslint/forks","keys_url":"https://api.github.com/repos/jackfranklin/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackfranklin/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackfranklin/eslint/teams","hooks_url":"https://api.github.com/repos/jackfranklin/eslint/hooks","issue_events_url":"https://api.github.com/repos/jackfranklin/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/jackfranklin/eslint/events","assignees_url":"https://api.github.com/repos/jackfranklin/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/jackfranklin/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/jackfranklin/eslint/tags","blobs_url":"https://api.github.com/repos/jackfranklin/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackfranklin/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackfranklin/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackfranklin/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackfranklin/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/jackfranklin/eslint/languages","stargazers_url":"https://api.github.com/repos/jackfranklin/eslint/stargazers","contributors_url":"https://api.github.com/repos/jackfranklin/eslint/contributors","subscribers_url":"https://api.github.com/repos/jackfranklin/eslint/subscribers","subscription_url":"https://api.github.com/repos/jackfranklin/eslint/subscription","commits_url":"https://api.github.com/repos/jackfranklin/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackfranklin/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackfranklin/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackfranklin/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackfranklin/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/jackfranklin/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackfranklin/eslint/merges","archive_url":"https://api.github.com/repos/jackfranklin/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackfranklin/eslint/downloads","issues_url":"https://api.github.com/repos/jackfranklin/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/jackfranklin/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/jackfranklin/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/jackfranklin/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackfranklin/eslint/labels{/name}","releases_url":"https://api.github.com/repos/jackfranklin/eslint/releases{/id}","created_at":"2015-04-17T15:34:04Z","updated_at":"2015-04-17T15:34:06Z","pushed_at":"2015-04-22T16:40:05Z","git_url":"git://github.com/jackfranklin/eslint.git","ssh_url":"git@github.com:jackfranklin/eslint.git","clone_url":"https://github.com/jackfranklin/eslint.git","svn_url":"https://github.com/jackfranklin/eslint","homepage":"http://eslint.org","size":4789,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eslint:master","ref":"master","sha":"d74d91eb7b217a2df2df0098ed3a108f69704fe0","user":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"repo":{"id":11061773,"name":"eslint","full_name":"eslint/eslint","owner":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eslint/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":false,"url":"https://api.github.com/repos/eslint/eslint","forks_url":"https://api.github.com/repos/eslint/eslint/forks","keys_url":"https://api.github.com/repos/eslint/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eslint/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eslint/eslint/teams","hooks_url":"https://api.github.com/repos/eslint/eslint/hooks","issue_events_url":"https://api.github.com/repos/eslint/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/eslint/eslint/events","assignees_url":"https://api.github.com/repos/eslint/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/eslint/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/eslint/eslint/tags","blobs_url":"https://api.github.com/repos/eslint/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eslint/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eslint/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/eslint/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/eslint/eslint/languages","stargazers_url":"https://api.github.com/repos/eslint/eslint/stargazers","contributors_url":"https://api.github.com/repos/eslint/eslint/contributors","subscribers_url":"https://api.github.com/repos/eslint/eslint/subscribers","subscription_url":"https://api.github.com/repos/eslint/eslint/subscription","commits_url":"https://api.github.com/repos/eslint/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/eslint/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/eslint/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/eslint/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/eslint/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/eslint/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eslint/eslint/merges","archive_url":"https://api.github.com/repos/eslint/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eslint/eslint/downloads","issues_url":"https://api.github.com/repos/eslint/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/eslint/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/eslint/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/eslint/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eslint/eslint/labels{/name}","releases_url":"https://api.github.com/repos/eslint/eslint/releases{/id}","created_at":"2013-06-29T23:59:48Z","updated_at":"2015-04-23T00:18:18Z","pushed_at":"2015-04-23T00:18:17Z","git_url":"git://github.com/eslint/eslint.git","ssh_url":"git@github.com:eslint/eslint.git","clone_url":"https://github.com/eslint/eslint.git","svn_url":"https://github.com/eslint/eslint","homepage":"http://eslint.org","size":16095,"stargazers_count":2026,"watchers_count":2026,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":362,"mirror_url":null,"open_issues_count":137,"forks":362,"open_issues":137,"watchers":2026,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eslint/eslint/pulls/2358"},"html":{"href":"https://github.com/eslint/eslint/pull/2358"},"issue":{"href":"https://api.github.com/repos/eslint/eslint/issues/2358"},"comments":{"href":"https://api.github.com/repos/eslint/eslint/issues/2358/comments"},"review_comments":{"href":"https://api.github.com/repos/eslint/eslint/pulls/2358/comments"},"review_comment":{"href":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eslint/eslint/pulls/2358/commits"},"statuses":{"href":"https://api.github.com/repos/eslint/eslint/statuses/3aad33ccd45ff3adeebc81f3b6516c28986ac619"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":90,"deletions":0,"changed_files":1}}