{"action":"created","issue":{"url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/120","repository_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier","labels_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/120/comments","events_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/120/events","html_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/120","id":327250654,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxMDkyNjc3","number":120,"title":"Use `--cursor-offset` to request the new cursor position","user":{"login":"kaste","id":8558,"node_id":"MDQ6VXNlcjg1NTg=","avatar_url":"https://avatars1.githubusercontent.com/u/8558?v=4","gravatar_id":"","url":"https://api.github.com/users/kaste","html_url":"https://github.com/kaste","followers_url":"https://api.github.com/users/kaste/followers","following_url":"https://api.github.com/users/kaste/following{/other_user}","gists_url":"https://api.github.com/users/kaste/gists{/gist_id}","starred_url":"https://api.github.com/users/kaste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaste/subscriptions","organizations_url":"https://api.github.com/users/kaste/orgs","repos_url":"https://api.github.com/users/kaste/repos","events_url":"https://api.github.com/users/kaste/events{/privacy}","received_events_url":"https://api.github.com/users/kaste/received_events","type":"User","site_admin":false},"labels":[{"id":518057340,"node_id":"MDU6TGFiZWw1MTgwNTczNDA=","url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/labels/resolved","name":"resolved","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"jonlabelle","id":226837,"node_id":"MDQ6VXNlcjIyNjgzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/226837?v=4","gravatar_id":"","url":"https://api.github.com/users/jonlabelle","html_url":"https://github.com/jonlabelle","followers_url":"https://api.github.com/users/jonlabelle/followers","following_url":"https://api.github.com/users/jonlabelle/following{/other_user}","gists_url":"https://api.github.com/users/jonlabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonlabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonlabelle/subscriptions","organizations_url":"https://api.github.com/users/jonlabelle/orgs","repos_url":"https://api.github.com/users/jonlabelle/repos","events_url":"https://api.github.com/users/jonlabelle/events{/privacy}","received_events_url":"https://api.github.com/users/jonlabelle/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonlabelle","id":226837,"node_id":"MDQ6VXNlcjIyNjgzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/226837?v=4","gravatar_id":"","url":"https://api.github.com/users/jonlabelle","html_url":"https://github.com/jonlabelle","followers_url":"https://api.github.com/users/jonlabelle/followers","following_url":"https://api.github.com/users/jonlabelle/following{/other_user}","gists_url":"https://api.github.com/users/jonlabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonlabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonlabelle/subscriptions","organizations_url":"https://api.github.com/users/jonlabelle/orgs","repos_url":"https://api.github.com/users/jonlabelle/repos","events_url":"https://api.github.com/users/jonlabelle/events{/privacy}","received_events_url":"https://api.github.com/users/jonlabelle/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-05-29T09:59:28Z","updated_at":"2018-08-09T00:34:39Z","closed_at":"2018-07-20T10:37:33Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/pulls/120","html_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/120","diff_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/120.diff","patch_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/120.patch"},"body":"Via `--cursor-offset` we inform Prettier about the current cursor position, and as a thank you get the new cursor position back on stderr (after eventual warnings, t.i. at the end of stderr).\r\n\r\nWe use that to move the cursor after transforming the buffer."},"comment":{"url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/comments/411598655","html_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/120#issuecomment-411598655","issue_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/120","id":411598655,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTU5ODY1NQ==","user":{"login":"jonlabelle","id":226837,"node_id":"MDQ6VXNlcjIyNjgzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/226837?v=4","gravatar_id":"","url":"https://api.github.com/users/jonlabelle","html_url":"https://github.com/jonlabelle","followers_url":"https://api.github.com/users/jonlabelle/followers","following_url":"https://api.github.com/users/jonlabelle/following{/other_user}","gists_url":"https://api.github.com/users/jonlabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonlabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonlabelle/subscriptions","organizations_url":"https://api.github.com/users/jonlabelle/orgs","repos_url":"https://api.github.com/users/jonlabelle/repos","events_url":"https://api.github.com/users/jonlabelle/events{/privacy}","received_events_url":"https://api.github.com/users/jonlabelle/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T00:34:39Z","updated_at":"2018-08-09T00:34:39Z","author_association":"OWNER","body":"Thanks @kaste!"}}
{"actor":{"display_login":"jonlabelle"}}