{"action":"opened","number":113,"pull_request":{"url":"https://api.github.com/repos/prettier/prettier-atom/pulls/113","id":113802962,"html_url":"https://github.com/prettier/prettier-atom/pull/113","diff_url":"https://github.com/prettier/prettier-atom/pull/113.diff","patch_url":"https://github.com/prettier/prettier-atom/pull/113.patch","issue_url":"https://api.github.com/repos/prettier/prettier-atom/issues/113","number":113,"state":"open","locked":false,"title":"fix(prettier): Don't alter text buffer if file is already pretty","user":{"login":"lgeiger","id":13285808,"avatar_url":"https://avatars2.githubusercontent.com/u/13285808?v=3","gravatar_id":"","url":"https://api.github.com/users/lgeiger","html_url":"https://github.com/lgeiger","followers_url":"https://api.github.com/users/lgeiger/followers","following_url":"https://api.github.com/users/lgeiger/following{/other_user}","gists_url":"https://api.github.com/users/lgeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/lgeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgeiger/subscriptions","organizations_url":"https://api.github.com/users/lgeiger/orgs","repos_url":"https://api.github.com/users/lgeiger/repos","events_url":"https://api.github.com/users/lgeiger/events{/privacy}","received_events_url":"https://api.github.com/users/lgeiger/received_events","type":"User","site_admin":false},"body":"This PR brings two improvements, it:\r\n- removes unnecessary glitches that happen when the content of the editor is overwritten\r\n- preserves the history, since it removes unnecessary text buffer changes","created_at":"2017-04-02T02:51:22Z","updated_at":"2017-04-02T02:51:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/prettier/prettier-atom/pulls/113/commits","review_comments_url":"https://api.github.com/repos/prettier/prettier-atom/pulls/113/comments","review_comment_url":"https://api.github.com/repos/prettier/prettier-atom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prettier/prettier-atom/issues/113/comments","statuses_url":"https://api.github.com/repos/prettier/prettier-atom/statuses/98ffb0ab18accaedcf02eb0b9b83189ddda23a1a","head":{"label":"lgeiger:fix-unnecessary-buffer-change","ref":"fix-unnecessary-buffer-change","sha":"98ffb0ab18accaedcf02eb0b9b83189ddda23a1a","user":{"login":"lgeiger","id":13285808,"avatar_url":"https://avatars2.githubusercontent.com/u/13285808?v=3","gravatar_id":"","url":"https://api.github.com/users/lgeiger","html_url":"https://github.com/lgeiger","followers_url":"https://api.github.com/users/lgeiger/followers","following_url":"https://api.github.com/users/lgeiger/following{/other_user}","gists_url":"https://api.github.com/users/lgeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/lgeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgeiger/subscriptions","organizations_url":"https://api.github.com/users/lgeiger/orgs","repos_url":"https://api.github.com/users/lgeiger/repos","events_url":"https://api.github.com/users/lgeiger/events{/privacy}","received_events_url":"https://api.github.com/users/lgeiger/received_events","type":"User","site_admin":false},"repo":{"id":86957185,"name":"prettier-atom","full_name":"lgeiger/prettier-atom","owner":{"login":"lgeiger","id":13285808,"avatar_url":"https://avatars2.githubusercontent.com/u/13285808?v=3","gravatar_id":"","url":"https://api.github.com/users/lgeiger","html_url":"https://github.com/lgeiger","followers_url":"https://api.github.com/users/lgeiger/followers","following_url":"https://api.github.com/users/lgeiger/following{/other_user}","gists_url":"https://api.github.com/users/lgeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/lgeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgeiger/subscriptions","organizations_url":"https://api.github.com/users/lgeiger/orgs","repos_url":"https://api.github.com/users/lgeiger/repos","events_url":"https://api.github.com/users/lgeiger/events{/privacy}","received_events_url":"https://api.github.com/users/lgeiger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lgeiger/prettier-atom","description":"An atom package for the prettier formatter.","fork":true,"url":"https://api.github.com/repos/lgeiger/prettier-atom","forks_url":"https://api.github.com/repos/lgeiger/prettier-atom/forks","keys_url":"https://api.github.com/repos/lgeiger/prettier-atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lgeiger/prettier-atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lgeiger/prettier-atom/teams","hooks_url":"https://api.github.com/repos/lgeiger/prettier-atom/hooks","issue_events_url":"https://api.github.com/repos/lgeiger/prettier-atom/issues/events{/number}","events_url":"https://api.github.com/repos/lgeiger/prettier-atom/events","assignees_url":"https://api.github.com/repos/lgeiger/prettier-atom/assignees{/user}","branches_url":"https://api.github.com/repos/lgeiger/prettier-atom/branches{/branch}","tags_url":"https://api.github.com/repos/lgeiger/prettier-atom/tags","blobs_url":"https://api.github.com/repos/lgeiger/prettier-atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lgeiger/prettier-atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lgeiger/prettier-atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/lgeiger/prettier-atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lgeiger/prettier-atom/statuses/{sha}","languages_url":"https://api.github.com/repos/lgeiger/prettier-atom/languages","stargazers_url":"https://api.github.com/repos/lgeiger/prettier-atom/stargazers","contributors_url":"https://api.github.com/repos/lgeiger/prettier-atom/contributors","subscribers_url":"https://api.github.com/repos/lgeiger/prettier-atom/subscribers","subscription_url":"https://api.github.com/repos/lgeiger/prettier-atom/subscription","commits_url":"https://api.github.com/repos/lgeiger/prettier-atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/lgeiger/prettier-atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/lgeiger/prettier-atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/lgeiger/prettier-atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/lgeiger/prettier-atom/contents/{+path}","compare_url":"https://api.github.com/repos/lgeiger/prettier-atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lgeiger/prettier-atom/merges","archive_url":"https://api.github.com/repos/lgeiger/prettier-atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lgeiger/prettier-atom/downloads","issues_url":"https://api.github.com/repos/lgeiger/prettier-atom/issues{/number}","pulls_url":"https://api.github.com/repos/lgeiger/prettier-atom/pulls{/number}","milestones_url":"https://api.github.com/repos/lgeiger/prettier-atom/milestones{/number}","notifications_url":"https://api.github.com/repos/lgeiger/prettier-atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lgeiger/prettier-atom/labels{/name}","releases_url":"https://api.github.com/repos/lgeiger/prettier-atom/releases{/id}","deployments_url":"https://api.github.com/repos/lgeiger/prettier-atom/deployments","created_at":"2017-04-02T02:25:26Z","updated_at":"2017-04-02T02:25:28Z","pushed_at":"2017-04-02T02:47:59Z","git_url":"git://github.com/lgeiger/prettier-atom.git","ssh_url":"git@github.com:lgeiger/prettier-atom.git","clone_url":"https://github.com/lgeiger/prettier-atom.git","svn_url":"https://github.com/lgeiger/prettier-atom","homepage":null,"size":767,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"prettier:master","ref":"master","sha":"8e515b4e8caea4ecd79d955c8b47a782102b4618","user":{"login":"prettier","id":25822731,"avatar_url":"https://avatars1.githubusercontent.com/u/25822731?v=3","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":78498562,"name":"prettier-atom","full_name":"prettier/prettier-atom","owner":{"login":"prettier","id":25822731,"avatar_url":"https://avatars1.githubusercontent.com/u/25822731?v=3","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-atom","description":"An atom package for the prettier formatter.","fork":false,"url":"https://api.github.com/repos/prettier/prettier-atom","forks_url":"https://api.github.com/repos/prettier/prettier-atom/forks","keys_url":"https://api.github.com/repos/prettier/prettier-atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prettier/prettier-atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prettier/prettier-atom/teams","hooks_url":"https://api.github.com/repos/prettier/prettier-atom/hooks","issue_events_url":"https://api.github.com/repos/prettier/prettier-atom/issues/events{/number}","events_url":"https://api.github.com/repos/prettier/prettier-atom/events","assignees_url":"https://api.github.com/repos/prettier/prettier-atom/assignees{/user}","branches_url":"https://api.github.com/repos/prettier/prettier-atom/branches{/branch}","tags_url":"https://api.github.com/repos/prettier/prettier-atom/tags","blobs_url":"https://api.github.com/repos/prettier/prettier-atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prettier/prettier-atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prettier/prettier-atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/prettier/prettier-atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prettier/prettier-atom/statuses/{sha}","languages_url":"https://api.github.com/repos/prettier/prettier-atom/languages","stargazers_url":"https://api.github.com/repos/prettier/prettier-atom/stargazers","contributors_url":"https://api.github.com/repos/prettier/prettier-atom/contributors","subscribers_url":"https://api.github.com/repos/prettier/prettier-atom/subscribers","subscription_url":"https://api.github.com/repos/prettier/prettier-atom/subscription","commits_url":"https://api.github.com/repos/prettier/prettier-atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/prettier/prettier-atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/prettier/prettier-atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/prettier/prettier-atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/prettier/prettier-atom/contents/{+path}","compare_url":"https://api.github.com/repos/prettier/prettier-atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prettier/prettier-atom/merges","archive_url":"https://api.github.com/repos/prettier/prettier-atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prettier/prettier-atom/downloads","issues_url":"https://api.github.com/repos/prettier/prettier-atom/issues{/number}","pulls_url":"https://api.github.com/repos/prettier/prettier-atom/pulls{/number}","milestones_url":"https://api.github.com/repos/prettier/prettier-atom/milestones{/number}","notifications_url":"https://api.github.com/repos/prettier/prettier-atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prettier/prettier-atom/labels{/name}","releases_url":"https://api.github.com/repos/prettier/prettier-atom/releases{/id}","deployments_url":"https://api.github.com/repos/prettier/prettier-atom/deployments","created_at":"2017-01-10T04:47:01Z","updated_at":"2017-03-27T13:05:32Z","pushed_at":"2017-04-02T00:03:15Z","git_url":"git://github.com/prettier/prettier-atom.git","ssh_url":"git@github.com:prettier/prettier-atom.git","clone_url":"https://github.com/prettier/prettier-atom.git","svn_url":"https://github.com/prettier/prettier-atom","homepage":null,"size":767,"stargazers_count":117,"watchers_count":117,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":12,"forks":29,"open_issues":12,"watchers":117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prettier/prettier-atom/pulls/113"},"html":{"href":"https://github.com/prettier/prettier-atom/pull/113"},"issue":{"href":"https://api.github.com/repos/prettier/prettier-atom/issues/113"},"comments":{"href":"https://api.github.com/repos/prettier/prettier-atom/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/prettier/prettier-atom/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/prettier/prettier-atom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prettier/prettier-atom/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/prettier/prettier-atom/statuses/98ffb0ab18accaedcf02eb0b9b83189ddda23a1a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":21,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"lgeiger"}}