{"action":"opened","number":3448,"pull_request":{"url":"https://api.github.com/repos/prettier/prettier/pulls/3448","id":157416279,"html_url":"https://github.com/prettier/prettier/pull/3448","diff_url":"https://github.com/prettier/prettier/pull/3448.diff","patch_url":"https://github.com/prettier/prettier/pull/3448.patch","issue_url":"https://api.github.com/repos/prettier/prettier/issues/3448","number":3448,"state":"open","locked":false,"title":"Fix printing separator in objects with prettier-ignore","user":{"login":"duailibe","id":1574588,"avatar_url":"https://avatars3.githubusercontent.com/u/1574588?v=4","gravatar_id":"","url":"https://api.github.com/users/duailibe","html_url":"https://github.com/duailibe","followers_url":"https://api.github.com/users/duailibe/followers","following_url":"https://api.github.com/users/duailibe/following{/other_user}","gists_url":"https://api.github.com/users/duailibe/gists{/gist_id}","starred_url":"https://api.github.com/users/duailibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duailibe/subscriptions","organizations_url":"https://api.github.com/users/duailibe/orgs","repos_url":"https://api.github.com/users/duailibe/repos","events_url":"https://api.github.com/users/duailibe/events{/privacy}","received_events_url":"https://api.github.com/users/duailibe/received_events","type":"User","site_admin":false},"body":"When trying to fix a bug of double printing separators in TypeScript interfaces in combination with `//prettier-ignore`, #3103 introduced a regression of not printing commas in regular objects. This commit restricts the \"not print\" the separator for TypeScript only (since the parser considers the trailing `;` part of the node).\n\nAdded a regression test + more tests for the TS bug","created_at":"2017-12-10T04:21:37Z","updated_at":"2017-12-10T04:21:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/prettier/prettier/pulls/3448/commits","review_comments_url":"https://api.github.com/repos/prettier/prettier/pulls/3448/comments","review_comment_url":"https://api.github.com/repos/prettier/prettier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/3448/comments","statuses_url":"https://api.github.com/repos/prettier/prettier/statuses/d383be4fe8510e0ef534b48111f7f4128753fe56","head":{"label":"duailibe:fix-ignore","ref":"fix-ignore","sha":"d383be4fe8510e0ef534b48111f7f4128753fe56","user":{"login":"duailibe","id":1574588,"avatar_url":"https://avatars3.githubusercontent.com/u/1574588?v=4","gravatar_id":"","url":"https://api.github.com/users/duailibe","html_url":"https://github.com/duailibe","followers_url":"https://api.github.com/users/duailibe/followers","following_url":"https://api.github.com/users/duailibe/following{/other_user}","gists_url":"https://api.github.com/users/duailibe/gists{/gist_id}","starred_url":"https://api.github.com/users/duailibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duailibe/subscriptions","organizations_url":"https://api.github.com/users/duailibe/orgs","repos_url":"https://api.github.com/users/duailibe/repos","events_url":"https://api.github.com/users/duailibe/events{/privacy}","received_events_url":"https://api.github.com/users/duailibe/received_events","type":"User","site_admin":false},"repo":{"id":87350221,"name":"prettier","full_name":"duailibe/prettier","owner":{"login":"duailibe","id":1574588,"avatar_url":"https://avatars3.githubusercontent.com/u/1574588?v=4","gravatar_id":"","url":"https://api.github.com/users/duailibe","html_url":"https://github.com/duailibe","followers_url":"https://api.github.com/users/duailibe/followers","following_url":"https://api.github.com/users/duailibe/following{/other_user}","gists_url":"https://api.github.com/users/duailibe/gists{/gist_id}","starred_url":"https://api.github.com/users/duailibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duailibe/subscriptions","organizations_url":"https://api.github.com/users/duailibe/orgs","repos_url":"https://api.github.com/users/duailibe/repos","events_url":"https://api.github.com/users/duailibe/events{/privacy}","received_events_url":"https://api.github.com/users/duailibe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/duailibe/prettier","description":"Prettier is an opinionated JavaScript formatter.","fork":true,"url":"https://api.github.com/repos/duailibe/prettier","forks_url":"https://api.github.com/repos/duailibe/prettier/forks","keys_url":"https://api.github.com/repos/duailibe/prettier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duailibe/prettier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duailibe/prettier/teams","hooks_url":"https://api.github.com/repos/duailibe/prettier/hooks","issue_events_url":"https://api.github.com/repos/duailibe/prettier/issues/events{/number}","events_url":"https://api.github.com/repos/duailibe/prettier/events","assignees_url":"https://api.github.com/repos/duailibe/prettier/assignees{/user}","branches_url":"https://api.github.com/repos/duailibe/prettier/branches{/branch}","tags_url":"https://api.github.com/repos/duailibe/prettier/tags","blobs_url":"https://api.github.com/repos/duailibe/prettier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duailibe/prettier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duailibe/prettier/git/refs{/sha}","trees_url":"https://api.github.com/repos/duailibe/prettier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duailibe/prettier/statuses/{sha}","languages_url":"https://api.github.com/repos/duailibe/prettier/languages","stargazers_url":"https://api.github.com/repos/duailibe/prettier/stargazers","contributors_url":"https://api.github.com/repos/duailibe/prettier/contributors","subscribers_url":"https://api.github.com/repos/duailibe/prettier/subscribers","subscription_url":"https://api.github.com/repos/duailibe/prettier/subscription","commits_url":"https://api.github.com/repos/duailibe/prettier/commits{/sha}","git_commits_url":"https://api.github.com/repos/duailibe/prettier/git/commits{/sha}","comments_url":"https://api.github.com/repos/duailibe/prettier/comments{/number}","issue_comment_url":"https://api.github.com/repos/duailibe/prettier/issues/comments{/number}","contents_url":"https://api.github.com/repos/duailibe/prettier/contents/{+path}","compare_url":"https://api.github.com/repos/duailibe/prettier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duailibe/prettier/merges","archive_url":"https://api.github.com/repos/duailibe/prettier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duailibe/prettier/downloads","issues_url":"https://api.github.com/repos/duailibe/prettier/issues{/number}","pulls_url":"https://api.github.com/repos/duailibe/prettier/pulls{/number}","milestones_url":"https://api.github.com/repos/duailibe/prettier/milestones{/number}","notifications_url":"https://api.github.com/repos/duailibe/prettier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duailibe/prettier/labels{/name}","releases_url":"https://api.github.com/repos/duailibe/prettier/releases{/id}","deployments_url":"https://api.github.com/repos/duailibe/prettier/deployments","created_at":"2017-04-05T19:48:31Z","updated_at":"2017-04-05T19:48:38Z","pushed_at":"2017-12-10T04:18:20Z","git_url":"git://github.com/duailibe/prettier.git","ssh_url":"git@github.com:duailibe/prettier.git","clone_url":"https://github.com/duailibe/prettier.git","svn_url":"https://github.com/duailibe/prettier","homepage":"https://prettier.github.io/prettier/","size":18491,"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,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prettier:master","ref":"master","sha":"c9079926c9e62e11e2d2f030a76f66d3175bd353","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-12-10T03:28:31Z","pushed_at":"2017-12-10T03:43:29Z","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/","size":18654,"stargazers_count":17768,"watchers_count":17768,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":731,"mirror_url":null,"archived":false,"open_issues_count":193,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":731,"open_issues":193,"watchers":17768,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prettier/prettier/pulls/3448"},"html":{"href":"https://github.com/prettier/prettier/pull/3448"},"issue":{"href":"https://api.github.com/repos/prettier/prettier/issues/3448"},"comments":{"href":"https://api.github.com/repos/prettier/prettier/issues/3448/comments"},"review_comments":{"href":"https://api.github.com/repos/prettier/prettier/pulls/3448/comments"},"review_comment":{"href":"https://api.github.com/repos/prettier/prettier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prettier/prettier/pulls/3448/commits"},"statuses":{"href":"https://api.github.com/repos/prettier/prettier/statuses/d383be4fe8510e0ef534b48111f7f4128753fe56"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":176,"deletions":3,"changed_files":6}}
{"actor":{"display_login":"duailibe"}}