{"action":"created","comment":{"url":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/comments/97223934","pull_request_review_id":17829631,"id":97223934,"diff_hunk":"@@ -58,15 +67,13 @@ def run(self, edit):\n         command = ['prettier'] + options + ['--stdin']\n         for region in self.view.sel():\n             text = self.view.substr(region)","path":"prettier.py","position":44,"original_position":44,"commit_id":"d04c72c98334ec71d0b28566a7f3db281e4ca25b","original_commit_id":"d04c72c98334ec71d0b28566a7f3db281e4ca25b","user":{"login":"danreeves","id":1973559,"avatar_url":"https://avatars.githubusercontent.com/u/1973559?v=3","gravatar_id":"","url":"https://api.github.com/users/danreeves","html_url":"https://github.com/danreeves","followers_url":"https://api.github.com/users/danreeves/followers","following_url":"https://api.github.com/users/danreeves/following{/other_user}","gists_url":"https://api.github.com/users/danreeves/gists{/gist_id}","starred_url":"https://api.github.com/users/danreeves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danreeves/subscriptions","organizations_url":"https://api.github.com/users/danreeves/orgs","repos_url":"https://api.github.com/users/danreeves/repos","events_url":"https://api.github.com/users/danreeves/events{/privacy}","received_events_url":"https://api.github.com/users/danreeves/received_events","type":"User","site_admin":false},"body":"`text` isn't used here so this line can be removed","created_at":"2017-01-22T14:29:04Z","updated_at":"2017-01-22T14:30:52Z","html_url":"https://github.com/danreeves/sublime-prettier/pull/9#discussion_r97223934","pull_request_url":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/comments/97223934"},"html":{"href":"https://github.com/danreeves/sublime-prettier/pull/9#discussion_r97223934"},"pull_request":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9","id":101564249,"html_url":"https://github.com/danreeves/sublime-prettier/pull/9","diff_url":"https://github.com/danreeves/sublime-prettier/pull/9.diff","patch_url":"https://github.com/danreeves/sublime-prettier/pull/9.patch","issue_url":"https://api.github.com/repos/danreeves/sublime-prettier/issues/9","number":9,"state":"open","locked":false,"title":"Implemented autoformatting on save","user":{"login":"adriantoine","id":976570,"avatar_url":"https://avatars.githubusercontent.com/u/976570?v=3","gravatar_id":"","url":"https://api.github.com/users/adriantoine","html_url":"https://github.com/adriantoine","followers_url":"https://api.github.com/users/adriantoine/followers","following_url":"https://api.github.com/users/adriantoine/following{/other_user}","gists_url":"https://api.github.com/users/adriantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/adriantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriantoine/subscriptions","organizations_url":"https://api.github.com/users/adriantoine/orgs","repos_url":"https://api.github.com/users/adriantoine/repos","events_url":"https://api.github.com/users/adriantoine/events{/privacy}","received_events_url":"https://api.github.com/users/adriantoine/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nThis allows to autoformat on save, and I added some documentation.\r\nFixes https://github.com/danreeves/sublime-prettier/issues/8\r\n\r\nLet me know what you think!\r\n\r\nThanks","created_at":"2017-01-14T15:20:50Z","updated_at":"2017-01-22T14:30:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5665da0ca7e9987bce588c19fcc3996def52aa7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9/commits","review_comments_url":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9/comments","review_comment_url":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danreeves/sublime-prettier/issues/9/comments","statuses_url":"https://api.github.com/repos/danreeves/sublime-prettier/statuses/d04c72c98334ec71d0b28566a7f3db281e4ca25b","head":{"label":"adriantoine:master","ref":"master","sha":"d04c72c98334ec71d0b28566a7f3db281e4ca25b","user":{"login":"adriantoine","id":976570,"avatar_url":"https://avatars.githubusercontent.com/u/976570?v=3","gravatar_id":"","url":"https://api.github.com/users/adriantoine","html_url":"https://github.com/adriantoine","followers_url":"https://api.github.com/users/adriantoine/followers","following_url":"https://api.github.com/users/adriantoine/following{/other_user}","gists_url":"https://api.github.com/users/adriantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/adriantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriantoine/subscriptions","organizations_url":"https://api.github.com/users/adriantoine/orgs","repos_url":"https://api.github.com/users/adriantoine/repos","events_url":"https://api.github.com/users/adriantoine/events{/privacy}","received_events_url":"https://api.github.com/users/adriantoine/received_events","type":"User","site_admin":false},"repo":{"id":78947359,"name":"sublime-prettier","full_name":"adriantoine/sublime-prettier","owner":{"login":"adriantoine","id":976570,"avatar_url":"https://avatars.githubusercontent.com/u/976570?v=3","gravatar_id":"","url":"https://api.github.com/users/adriantoine","html_url":"https://github.com/adriantoine","followers_url":"https://api.github.com/users/adriantoine/followers","following_url":"https://api.github.com/users/adriantoine/following{/other_user}","gists_url":"https://api.github.com/users/adriantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/adriantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriantoine/subscriptions","organizations_url":"https://api.github.com/users/adriantoine/orgs","repos_url":"https://api.github.com/users/adriantoine/repos","events_url":"https://api.github.com/users/adriantoine/events{/privacy}","received_events_url":"https://api.github.com/users/adriantoine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adriantoine/sublime-prettier","description":"A Sublime Text 3 plugin for Prettier","fork":true,"url":"https://api.github.com/repos/adriantoine/sublime-prettier","forks_url":"https://api.github.com/repos/adriantoine/sublime-prettier/forks","keys_url":"https://api.github.com/repos/adriantoine/sublime-prettier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adriantoine/sublime-prettier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adriantoine/sublime-prettier/teams","hooks_url":"https://api.github.com/repos/adriantoine/sublime-prettier/hooks","issue_events_url":"https://api.github.com/repos/adriantoine/sublime-prettier/issues/events{/number}","events_url":"https://api.github.com/repos/adriantoine/sublime-prettier/events","assignees_url":"https://api.github.com/repos/adriantoine/sublime-prettier/assignees{/user}","branches_url":"https://api.github.com/repos/adriantoine/sublime-prettier/branches{/branch}","tags_url":"https://api.github.com/repos/adriantoine/sublime-prettier/tags","blobs_url":"https://api.github.com/repos/adriantoine/sublime-prettier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adriantoine/sublime-prettier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adriantoine/sublime-prettier/git/refs{/sha}","trees_url":"https://api.github.com/repos/adriantoine/sublime-prettier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adriantoine/sublime-prettier/statuses/{sha}","languages_url":"https://api.github.com/repos/adriantoine/sublime-prettier/languages","stargazers_url":"https://api.github.com/repos/adriantoine/sublime-prettier/stargazers","contributors_url":"https://api.github.com/repos/adriantoine/sublime-prettier/contributors","subscribers_url":"https://api.github.com/repos/adriantoine/sublime-prettier/subscribers","subscription_url":"https://api.github.com/repos/adriantoine/sublime-prettier/subscription","commits_url":"https://api.github.com/repos/adriantoine/sublime-prettier/commits{/sha}","git_commits_url":"https://api.github.com/repos/adriantoine/sublime-prettier/git/commits{/sha}","comments_url":"https://api.github.com/repos/adriantoine/sublime-prettier/comments{/number}","issue_comment_url":"https://api.github.com/repos/adriantoine/sublime-prettier/issues/comments{/number}","contents_url":"https://api.github.com/repos/adriantoine/sublime-prettier/contents/{+path}","compare_url":"https://api.github.com/repos/adriantoine/sublime-prettier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adriantoine/sublime-prettier/merges","archive_url":"https://api.github.com/repos/adriantoine/sublime-prettier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adriantoine/sublime-prettier/downloads","issues_url":"https://api.github.com/repos/adriantoine/sublime-prettier/issues{/number}","pulls_url":"https://api.github.com/repos/adriantoine/sublime-prettier/pulls{/number}","milestones_url":"https://api.github.com/repos/adriantoine/sublime-prettier/milestones{/number}","notifications_url":"https://api.github.com/repos/adriantoine/sublime-prettier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adriantoine/sublime-prettier/labels{/name}","releases_url":"https://api.github.com/repos/adriantoine/sublime-prettier/releases{/id}","deployments_url":"https://api.github.com/repos/adriantoine/sublime-prettier/deployments","created_at":"2017-01-14T15:12:38Z","updated_at":"2017-01-14T15:12:39Z","pushed_at":"2017-01-22T14:05:38Z","git_url":"git://github.com/adriantoine/sublime-prettier.git","ssh_url":"git@github.com:adriantoine/sublime-prettier.git","clone_url":"https://github.com/adriantoine/sublime-prettier.git","svn_url":"https://github.com/adriantoine/sublime-prettier","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"danreeves:master","ref":"master","sha":"0c96810633759b8887333016513a87fc5421b3eb","user":{"login":"danreeves","id":1973559,"avatar_url":"https://avatars.githubusercontent.com/u/1973559?v=3","gravatar_id":"","url":"https://api.github.com/users/danreeves","html_url":"https://github.com/danreeves","followers_url":"https://api.github.com/users/danreeves/followers","following_url":"https://api.github.com/users/danreeves/following{/other_user}","gists_url":"https://api.github.com/users/danreeves/gists{/gist_id}","starred_url":"https://api.github.com/users/danreeves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danreeves/subscriptions","organizations_url":"https://api.github.com/users/danreeves/orgs","repos_url":"https://api.github.com/users/danreeves/repos","events_url":"https://api.github.com/users/danreeves/events{/privacy}","received_events_url":"https://api.github.com/users/danreeves/received_events","type":"User","site_admin":false},"repo":{"id":78572954,"name":"sublime-prettier","full_name":"danreeves/sublime-prettier","owner":{"login":"danreeves","id":1973559,"avatar_url":"https://avatars.githubusercontent.com/u/1973559?v=3","gravatar_id":"","url":"https://api.github.com/users/danreeves","html_url":"https://github.com/danreeves","followers_url":"https://api.github.com/users/danreeves/followers","following_url":"https://api.github.com/users/danreeves/following{/other_user}","gists_url":"https://api.github.com/users/danreeves/gists{/gist_id}","starred_url":"https://api.github.com/users/danreeves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danreeves/subscriptions","organizations_url":"https://api.github.com/users/danreeves/orgs","repos_url":"https://api.github.com/users/danreeves/repos","events_url":"https://api.github.com/users/danreeves/events{/privacy}","received_events_url":"https://api.github.com/users/danreeves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danreeves/sublime-prettier","description":"A Sublime Text 3 plugin for Prettier","fork":false,"url":"https://api.github.com/repos/danreeves/sublime-prettier","forks_url":"https://api.github.com/repos/danreeves/sublime-prettier/forks","keys_url":"https://api.github.com/repos/danreeves/sublime-prettier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danreeves/sublime-prettier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danreeves/sublime-prettier/teams","hooks_url":"https://api.github.com/repos/danreeves/sublime-prettier/hooks","issue_events_url":"https://api.github.com/repos/danreeves/sublime-prettier/issues/events{/number}","events_url":"https://api.github.com/repos/danreeves/sublime-prettier/events","assignees_url":"https://api.github.com/repos/danreeves/sublime-prettier/assignees{/user}","branches_url":"https://api.github.com/repos/danreeves/sublime-prettier/branches{/branch}","tags_url":"https://api.github.com/repos/danreeves/sublime-prettier/tags","blobs_url":"https://api.github.com/repos/danreeves/sublime-prettier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danreeves/sublime-prettier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danreeves/sublime-prettier/git/refs{/sha}","trees_url":"https://api.github.com/repos/danreeves/sublime-prettier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danreeves/sublime-prettier/statuses/{sha}","languages_url":"https://api.github.com/repos/danreeves/sublime-prettier/languages","stargazers_url":"https://api.github.com/repos/danreeves/sublime-prettier/stargazers","contributors_url":"https://api.github.com/repos/danreeves/sublime-prettier/contributors","subscribers_url":"https://api.github.com/repos/danreeves/sublime-prettier/subscribers","subscription_url":"https://api.github.com/repos/danreeves/sublime-prettier/subscription","commits_url":"https://api.github.com/repos/danreeves/sublime-prettier/commits{/sha}","git_commits_url":"https://api.github.com/repos/danreeves/sublime-prettier/git/commits{/sha}","comments_url":"https://api.github.com/repos/danreeves/sublime-prettier/comments{/number}","issue_comment_url":"https://api.github.com/repos/danreeves/sublime-prettier/issues/comments{/number}","contents_url":"https://api.github.com/repos/danreeves/sublime-prettier/contents/{+path}","compare_url":"https://api.github.com/repos/danreeves/sublime-prettier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danreeves/sublime-prettier/merges","archive_url":"https://api.github.com/repos/danreeves/sublime-prettier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danreeves/sublime-prettier/downloads","issues_url":"https://api.github.com/repos/danreeves/sublime-prettier/issues{/number}","pulls_url":"https://api.github.com/repos/danreeves/sublime-prettier/pulls{/number}","milestones_url":"https://api.github.com/repos/danreeves/sublime-prettier/milestones{/number}","notifications_url":"https://api.github.com/repos/danreeves/sublime-prettier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danreeves/sublime-prettier/labels{/name}","releases_url":"https://api.github.com/repos/danreeves/sublime-prettier/releases{/id}","deployments_url":"https://api.github.com/repos/danreeves/sublime-prettier/deployments","created_at":"2017-01-10T20:51:51Z","updated_at":"2017-01-22T13:05:01Z","pushed_at":"2017-01-22T14:05:38Z","git_url":"git://github.com/danreeves/sublime-prettier.git","ssh_url":"git@github.com:danreeves/sublime-prettier.git","clone_url":"https://github.com/danreeves/sublime-prettier.git","svn_url":"https://github.com/danreeves/sublime-prettier","homepage":null,"size":12,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9"},"html":{"href":"https://github.com/danreeves/sublime-prettier/pull/9"},"issue":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/issues/9"},"comments":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/danreeves/sublime-prettier/statuses/d04c72c98334ec71d0b28566a7f3db281e4ca25b"}}}}
{"actor":{"display_login":"danreeves"}}