{"action":"created","issue":{"url":"https://api.github.com/repos/millermedeiros/esformatter/issues/282","labels_url":"https://api.github.com/repos/millermedeiros/esformatter/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/millermedeiros/esformatter/issues/282/comments","events_url":"https://api.github.com/repos/millermedeiros/esformatter/issues/282/events","html_url":"https://github.com/millermedeiros/esformatter/pull/282","id":64029769,"number":282,"title":"align comments based on prev/next line","user":{"login":"millermedeiros","id":155633,"avatar_url":"https://avatars.githubusercontent.com/u/155633?v=3","gravatar_id":"","url":"https://api.github.com/users/millermedeiros","html_url":"https://github.com/millermedeiros","followers_url":"https://api.github.com/users/millermedeiros/followers","following_url":"https://api.github.com/users/millermedeiros/following{/other_user}","gists_url":"https://api.github.com/users/millermedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/millermedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millermedeiros/subscriptions","organizations_url":"https://api.github.com/users/millermedeiros/orgs","repos_url":"https://api.github.com/users/millermedeiros/repos","events_url":"https://api.github.com/users/millermedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/millermedeiros/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-24T15:42:06Z","updated_at":"2015-03-26T16:16:54Z","closed_at":"2015-03-26T16:16:12Z","pull_request":{"url":"https://api.github.com/repos/millermedeiros/esformatter/pulls/282","html_url":"https://github.com/millermedeiros/esformatter/pull/282","diff_url":"https://github.com/millermedeiros/esformatter/pull/282.diff","patch_url":"https://github.com/millermedeiros/esformatter/pull/282.patch"},"body":"this is still WIP but creating the pull request so you can see the new behavior. all the logic was implemented on [rocambole-indent](https://github.com/millermedeiros/rocambole-indent) and we are just reusing the `indent.alignComments()` method\r\n\r\nstill need to update the tests to match the new behavior but want to confirm if that is really the expected behavior... specially for cases like:\r\n\r\n```js\r\ntry {\r\n  foo();\r\n} catch (e) {\r\n// this won't be indented since it follows next line\r\n);\r\n```\r\n\r\nfixes #209\r\nfixes #270"},"comment":{"url":"https://api.github.com/repos/millermedeiros/esformatter/issues/comments/86600183","html_url":"https://github.com/millermedeiros/esformatter/pull/282#issuecomment-86600183","issue_url":"https://api.github.com/repos/millermedeiros/esformatter/issues/282","id":86600183,"user":{"login":"millermedeiros","id":155633,"avatar_url":"https://avatars.githubusercontent.com/u/155633?v=3","gravatar_id":"","url":"https://api.github.com/users/millermedeiros","html_url":"https://github.com/millermedeiros","followers_url":"https://api.github.com/users/millermedeiros/followers","following_url":"https://api.github.com/users/millermedeiros/following{/other_user}","gists_url":"https://api.github.com/users/millermedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/millermedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millermedeiros/subscriptions","organizations_url":"https://api.github.com/users/millermedeiros/orgs","repos_url":"https://api.github.com/users/millermedeiros/repos","events_url":"https://api.github.com/users/millermedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/millermedeiros/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T16:16:54Z","updated_at":"2015-03-26T16:16:54Z","body":"squased commits and landed on master \\o/"}}