{"action":"created","comment":{"url":"https://api.github.com/repos/prettier/prettier/pulls/comments/141055419","pull_request_review_id":65213600,"id":141055419,"diff_hunk":"@@ -0,0 +1,5 @@\n+\"use strict\";\n+\n+class ConfigError extends Error {}","path":"src/errors.js","position":3,"original_position":3,"commit_id":"802daeacb272e0a850323107a40ebff6a5f79b76","original_commit_id":"802daeacb272e0a850323107a40ebff6a5f79b76","user":{"login":"lydell","id":2142817,"avatar_url":"https://avatars3.githubusercontent.com/u/2142817?v=4","gravatar_id":"","url":"https://api.github.com/users/lydell","html_url":"https://github.com/lydell","followers_url":"https://api.github.com/users/lydell/followers","following_url":"https://api.github.com/users/lydell/following{/other_user}","gists_url":"https://api.github.com/users/lydell/gists{/gist_id}","starred_url":"https://api.github.com/users/lydell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lydell/subscriptions","organizations_url":"https://api.github.com/users/lydell/orgs","repos_url":"https://api.github.com/users/lydell/repos","events_url":"https://api.github.com/users/lydell/events{/privacy}","received_events_url":"https://api.github.com/users/lydell/received_events","type":"User","site_admin":false},"body":"Extending `Error` seems to work flawlessly in Node.js 4+. Let’s stick with that until somebody brings up an issue.","created_at":"2017-09-26T13:29:31Z","updated_at":"2017-09-26T13:29:31Z","html_url":"https://github.com/prettier/prettier/pull/2895#discussion_r141055419","pull_request_url":"https://api.github.com/repos/prettier/prettier/pulls/2895","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/prettier/prettier/pulls/comments/141055419"},"html":{"href":"https://github.com/prettier/prettier/pull/2895#discussion_r141055419"},"pull_request":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2895"}},"in_reply_to_id":141018116},"pull_request":{"url":"https://api.github.com/repos/prettier/prettier/pulls/2895","id":142948368,"html_url":"https://github.com/prettier/prettier/pull/2895","diff_url":"https://github.com/prettier/prettier/pull/2895.diff","patch_url":"https://github.com/prettier/prettier/pull/2895.patch","issue_url":"https://api.github.com/repos/prettier/prettier/issues/2895","number":2895,"state":"closed","locked":false,"title":"fix: do not print stack trace for invalid option","user":{"login":"ikatyang","id":8341033,"avatar_url":"https://avatars1.githubusercontent.com/u/8341033?v=4","gravatar_id":"","url":"https://api.github.com/users/ikatyang","html_url":"https://github.com/ikatyang","followers_url":"https://api.github.com/users/ikatyang/followers","following_url":"https://api.github.com/users/ikatyang/following{/other_user}","gists_url":"https://api.github.com/users/ikatyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ikatyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikatyang/subscriptions","organizations_url":"https://api.github.com/users/ikatyang/orgs","repos_url":"https://api.github.com/users/ikatyang/repos","events_url":"https://api.github.com/users/ikatyang/events{/privacy}","received_events_url":"https://api.github.com/users/ikatyang/received_events","type":"User","site_admin":false},"body":"Fixes #2891\r\n\r\nbefore/after\r\n\r\n![image](https://user-images.githubusercontent.com/8341033/30823660-9d1303f6-a1f2-11e7-9e02-80aaf94e82df.png)\r\n\r\n","created_at":"2017-09-25T18:09:17Z","updated_at":"2017-09-26T13:29:31Z","closed_at":"2017-09-25T18:42:56Z","merged_at":"2017-09-25T18:42:56Z","merge_commit_sha":"d0a622ffa837b2f3d3a4344a96835af4dadeae1c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/prettier/prettier/pulls/2895/commits","review_comments_url":"https://api.github.com/repos/prettier/prettier/pulls/2895/comments","review_comment_url":"https://api.github.com/repos/prettier/prettier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/2895/comments","statuses_url":"https://api.github.com/repos/prettier/prettier/statuses/802daeacb272e0a850323107a40ebff6a5f79b76","head":{"label":"ikatyang:fix/do-not-print-stack-trace","ref":"fix/do-not-print-stack-trace","sha":"802daeacb272e0a850323107a40ebff6a5f79b76","user":{"login":"ikatyang","id":8341033,"avatar_url":"https://avatars1.githubusercontent.com/u/8341033?v=4","gravatar_id":"","url":"https://api.github.com/users/ikatyang","html_url":"https://github.com/ikatyang","followers_url":"https://api.github.com/users/ikatyang/followers","following_url":"https://api.github.com/users/ikatyang/following{/other_user}","gists_url":"https://api.github.com/users/ikatyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ikatyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikatyang/subscriptions","organizations_url":"https://api.github.com/users/ikatyang/orgs","repos_url":"https://api.github.com/users/ikatyang/repos","events_url":"https://api.github.com/users/ikatyang/events{/privacy}","received_events_url":"https://api.github.com/users/ikatyang/received_events","type":"User","site_admin":false},"repo":{"id":100720924,"name":"prettier","full_name":"ikatyang/prettier","owner":{"login":"ikatyang","id":8341033,"avatar_url":"https://avatars1.githubusercontent.com/u/8341033?v=4","gravatar_id":"","url":"https://api.github.com/users/ikatyang","html_url":"https://github.com/ikatyang","followers_url":"https://api.github.com/users/ikatyang/followers","following_url":"https://api.github.com/users/ikatyang/following{/other_user}","gists_url":"https://api.github.com/users/ikatyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ikatyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikatyang/subscriptions","organizations_url":"https://api.github.com/users/ikatyang/orgs","repos_url":"https://api.github.com/users/ikatyang/repos","events_url":"https://api.github.com/users/ikatyang/events{/privacy}","received_events_url":"https://api.github.com/users/ikatyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ikatyang/prettier","description":"Prettier is an opinionated code formatter.","fork":true,"url":"https://api.github.com/repos/ikatyang/prettier","forks_url":"https://api.github.com/repos/ikatyang/prettier/forks","keys_url":"https://api.github.com/repos/ikatyang/prettier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ikatyang/prettier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ikatyang/prettier/teams","hooks_url":"https://api.github.com/repos/ikatyang/prettier/hooks","issue_events_url":"https://api.github.com/repos/ikatyang/prettier/issues/events{/number}","events_url":"https://api.github.com/repos/ikatyang/prettier/events","assignees_url":"https://api.github.com/repos/ikatyang/prettier/assignees{/user}","branches_url":"https://api.github.com/repos/ikatyang/prettier/branches{/branch}","tags_url":"https://api.github.com/repos/ikatyang/prettier/tags","blobs_url":"https://api.github.com/repos/ikatyang/prettier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ikatyang/prettier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ikatyang/prettier/git/refs{/sha}","trees_url":"https://api.github.com/repos/ikatyang/prettier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ikatyang/prettier/statuses/{sha}","languages_url":"https://api.github.com/repos/ikatyang/prettier/languages","stargazers_url":"https://api.github.com/repos/ikatyang/prettier/stargazers","contributors_url":"https://api.github.com/repos/ikatyang/prettier/contributors","subscribers_url":"https://api.github.com/repos/ikatyang/prettier/subscribers","subscription_url":"https://api.github.com/repos/ikatyang/prettier/subscription","commits_url":"https://api.github.com/repos/ikatyang/prettier/commits{/sha}","git_commits_url":"https://api.github.com/repos/ikatyang/prettier/git/commits{/sha}","comments_url":"https://api.github.com/repos/ikatyang/prettier/comments{/number}","issue_comment_url":"https://api.github.com/repos/ikatyang/prettier/issues/comments{/number}","contents_url":"https://api.github.com/repos/ikatyang/prettier/contents/{+path}","compare_url":"https://api.github.com/repos/ikatyang/prettier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ikatyang/prettier/merges","archive_url":"https://api.github.com/repos/ikatyang/prettier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ikatyang/prettier/downloads","issues_url":"https://api.github.com/repos/ikatyang/prettier/issues{/number}","pulls_url":"https://api.github.com/repos/ikatyang/prettier/pulls{/number}","milestones_url":"https://api.github.com/repos/ikatyang/prettier/milestones{/number}","notifications_url":"https://api.github.com/repos/ikatyang/prettier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ikatyang/prettier/labels{/name}","releases_url":"https://api.github.com/repos/ikatyang/prettier/releases{/id}","deployments_url":"https://api.github.com/repos/ikatyang/prettier/deployments","created_at":"2017-08-18T14:37:38Z","updated_at":"2017-08-18T14:37:42Z","pushed_at":"2017-09-26T13:06:57Z","git_url":"git://github.com/ikatyang/prettier.git","ssh_url":"git@github.com:ikatyang/prettier.git","clone_url":"https://github.com/ikatyang/prettier.git","svn_url":"https://github.com/ikatyang/prettier","homepage":"https://prettier.io/playground/","size":16117,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"prettier:master","ref":"master","sha":"cd4d4e7273b1732caff2b8006edd9c69336a4504","user":{"login":"prettier","id":25822731,"avatar_url":"https://avatars2.githubusercontent.com/u/25822731?v=4","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"repo":{"id":75104123,"name":"prettier","full_name":"prettier/prettier","owner":{"login":"prettier","id":25822731,"avatar_url":"https://avatars2.githubusercontent.com/u/25822731?v=4","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prettier/prettier","description":"Prettier is an opinionated code formatter.","fork":false,"url":"https://api.github.com/repos/prettier/prettier","forks_url":"https://api.github.com/repos/prettier/prettier/forks","keys_url":"https://api.github.com/repos/prettier/prettier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prettier/prettier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prettier/prettier/teams","hooks_url":"https://api.github.com/repos/prettier/prettier/hooks","issue_events_url":"https://api.github.com/repos/prettier/prettier/issues/events{/number}","events_url":"https://api.github.com/repos/prettier/prettier/events","assignees_url":"https://api.github.com/repos/prettier/prettier/assignees{/user}","branches_url":"https://api.github.com/repos/prettier/prettier/branches{/branch}","tags_url":"https://api.github.com/repos/prettier/prettier/tags","blobs_url":"https://api.github.com/repos/prettier/prettier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prettier/prettier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prettier/prettier/git/refs{/sha}","trees_url":"https://api.github.com/repos/prettier/prettier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prettier/prettier/statuses/{sha}","languages_url":"https://api.github.com/repos/prettier/prettier/languages","stargazers_url":"https://api.github.com/repos/prettier/prettier/stargazers","contributors_url":"https://api.github.com/repos/prettier/prettier/contributors","subscribers_url":"https://api.github.com/repos/prettier/prettier/subscribers","subscription_url":"https://api.github.com/repos/prettier/prettier/subscription","commits_url":"https://api.github.com/repos/prettier/prettier/commits{/sha}","git_commits_url":"https://api.github.com/repos/prettier/prettier/git/commits{/sha}","comments_url":"https://api.github.com/repos/prettier/prettier/comments{/number}","issue_comment_url":"https://api.github.com/repos/prettier/prettier/issues/comments{/number}","contents_url":"https://api.github.com/repos/prettier/prettier/contents/{+path}","compare_url":"https://api.github.com/repos/prettier/prettier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prettier/prettier/merges","archive_url":"https://api.github.com/repos/prettier/prettier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prettier/prettier/downloads","issues_url":"https://api.github.com/repos/prettier/prettier/issues{/number}","pulls_url":"https://api.github.com/repos/prettier/prettier/pulls{/number}","milestones_url":"https://api.github.com/repos/prettier/prettier/milestones{/number}","notifications_url":"https://api.github.com/repos/prettier/prettier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prettier/prettier/labels{/name}","releases_url":"https://api.github.com/repos/prettier/prettier/releases{/id}","deployments_url":"https://api.github.com/repos/prettier/prettier/deployments","created_at":"2016-11-29T17:13:37Z","updated_at":"2017-09-26T12:54:53Z","pushed_at":"2017-09-26T13:12:43Z","git_url":"git://github.com/prettier/prettier.git","ssh_url":"git@github.com:prettier/prettier.git","clone_url":"https://github.com/prettier/prettier.git","svn_url":"https://github.com/prettier/prettier","homepage":"https://prettier.io/playground/","size":16350,"stargazers_count":14958,"watchers_count":14958,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":573,"mirror_url":null,"open_issues_count":172,"forks":573,"open_issues":172,"watchers":14958,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2895"},"html":{"href":"https://github.com/prettier/prettier/pull/2895"},"issue":{"href":"https://api.github.com/repos/prettier/prettier/issues/2895"},"comments":{"href":"https://api.github.com/repos/prettier/prettier/issues/2895/comments"},"review_comments":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2895/comments"},"review_comment":{"href":"https://api.github.com/repos/prettier/prettier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2895/commits"},"statuses":{"href":"https://api.github.com/repos/prettier/prettier/statuses/802daeacb272e0a850323107a40ebff6a5f79b76"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"lydell"}}