{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/24","id":45670185,"html_url":"https://github.com/vvakame/typescript-formatter/pull/24","diff_url":"https://github.com/vvakame/typescript-formatter/pull/24.diff","patch_url":"https://github.com/vvakame/typescript-formatter/pull/24.patch","issue_url":"https://api.github.com/repos/vvakame/typescript-formatter/issues/24","number":24,"state":"open","locked":false,"title":"Newline fix and various tslint rule changes","user":{"login":"myitcv","id":3374574,"avatar_url":"https://avatars.githubusercontent.com/u/3374574?v=3","gravatar_id":"","url":"https://api.github.com/users/myitcv","html_url":"https://github.com/myitcv","followers_url":"https://api.github.com/users/myitcv/followers","following_url":"https://api.github.com/users/myitcv/following{/other_user}","gists_url":"https://api.github.com/users/myitcv/gists{/gist_id}","starred_url":"https://api.github.com/users/myitcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myitcv/subscriptions","organizations_url":"https://api.github.com/users/myitcv/orgs","repos_url":"https://api.github.com/users/myitcv/repos","events_url":"https://api.github.com/users/myitcv/events{/privacy}","received_events_url":"https://api.github.com/users/myitcv/received_events","type":"User","site_admin":false},"body":"@vvakame - I've closed #19 and rebased my changes against your recent commits. Would appreciate some feedback on these changes:\r\n\r\n* Use `process.(stderr|stdout)` to fix [this issue](https://github.com/vvakame/typescript-formatter/issues/15#issuecomment-127304963)\r\n* Fix references to and use of the `tslint` indent rule (and corresponding config). The rule takes a `[boolean, string]` pair, [like this](https://github.com/palantir/tslint/blob/551f9ca396b2c4b63e80c7b928797ca7646ee9f0/tslint.json#L8). There was an [error in the `tslint` docs](https://github.com/palantir/tslint/pull/545) which has now been fixed\r\n* Introduce `AdditionalFormatOptions` to reference `tslint \"no-consecutive-blank-lines\"` and `\"no-trailing-whitespace\"` config options. These are not supported by the core `ts.FormatCodeOptions`. Perform simple regex replaces if these options are set","created_at":"2015-09-22T14:30:21Z","updated_at":"2015-09-22T14:30:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/24/commits","review_comments_url":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/24/comments","review_comment_url":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vvakame/typescript-formatter/issues/24/comments","statuses_url":"https://api.github.com/repos/vvakame/typescript-formatter/statuses/bb05b98754f0f54d81ed14c2bfbc030fee90084a","head":{"label":"myitcv:newline_and_indent_fixes","ref":"newline_and_indent_fixes","sha":"bb05b98754f0f54d81ed14c2bfbc030fee90084a","user":{"login":"myitcv","id":3374574,"avatar_url":"https://avatars.githubusercontent.com/u/3374574?v=3","gravatar_id":"","url":"https://api.github.com/users/myitcv","html_url":"https://github.com/myitcv","followers_url":"https://api.github.com/users/myitcv/followers","following_url":"https://api.github.com/users/myitcv/following{/other_user}","gists_url":"https://api.github.com/users/myitcv/gists{/gist_id}","starred_url":"https://api.github.com/users/myitcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myitcv/subscriptions","organizations_url":"https://api.github.com/users/myitcv/orgs","repos_url":"https://api.github.com/users/myitcv/repos","events_url":"https://api.github.com/users/myitcv/events{/privacy}","received_events_url":"https://api.github.com/users/myitcv/received_events","type":"User","site_admin":false},"repo":{"id":40136944,"name":"typescript-formatter","full_name":"myitcv/typescript-formatter","owner":{"login":"myitcv","id":3374574,"avatar_url":"https://avatars.githubusercontent.com/u/3374574?v=3","gravatar_id":"","url":"https://api.github.com/users/myitcv","html_url":"https://github.com/myitcv","followers_url":"https://api.github.com/users/myitcv/followers","following_url":"https://api.github.com/users/myitcv/following{/other_user}","gists_url":"https://api.github.com/users/myitcv/gists{/gist_id}","starred_url":"https://api.github.com/users/myitcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myitcv/subscriptions","organizations_url":"https://api.github.com/users/myitcv/orgs","repos_url":"https://api.github.com/users/myitcv/repos","events_url":"https://api.github.com/users/myitcv/events{/privacy}","received_events_url":"https://api.github.com/users/myitcv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/myitcv/typescript-formatter","description":"Formatter of TypeScript code","fork":true,"url":"https://api.github.com/repos/myitcv/typescript-formatter","forks_url":"https://api.github.com/repos/myitcv/typescript-formatter/forks","keys_url":"https://api.github.com/repos/myitcv/typescript-formatter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myitcv/typescript-formatter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myitcv/typescript-formatter/teams","hooks_url":"https://api.github.com/repos/myitcv/typescript-formatter/hooks","issue_events_url":"https://api.github.com/repos/myitcv/typescript-formatter/issues/events{/number}","events_url":"https://api.github.com/repos/myitcv/typescript-formatter/events","assignees_url":"https://api.github.com/repos/myitcv/typescript-formatter/assignees{/user}","branches_url":"https://api.github.com/repos/myitcv/typescript-formatter/branches{/branch}","tags_url":"https://api.github.com/repos/myitcv/typescript-formatter/tags","blobs_url":"https://api.github.com/repos/myitcv/typescript-formatter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myitcv/typescript-formatter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myitcv/typescript-formatter/git/refs{/sha}","trees_url":"https://api.github.com/repos/myitcv/typescript-formatter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myitcv/typescript-formatter/statuses/{sha}","languages_url":"https://api.github.com/repos/myitcv/typescript-formatter/languages","stargazers_url":"https://api.github.com/repos/myitcv/typescript-formatter/stargazers","contributors_url":"https://api.github.com/repos/myitcv/typescript-formatter/contributors","subscribers_url":"https://api.github.com/repos/myitcv/typescript-formatter/subscribers","subscription_url":"https://api.github.com/repos/myitcv/typescript-formatter/subscription","commits_url":"https://api.github.com/repos/myitcv/typescript-formatter/commits{/sha}","git_commits_url":"https://api.github.com/repos/myitcv/typescript-formatter/git/commits{/sha}","comments_url":"https://api.github.com/repos/myitcv/typescript-formatter/comments{/number}","issue_comment_url":"https://api.github.com/repos/myitcv/typescript-formatter/issues/comments{/number}","contents_url":"https://api.github.com/repos/myitcv/typescript-formatter/contents/{+path}","compare_url":"https://api.github.com/repos/myitcv/typescript-formatter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myitcv/typescript-formatter/merges","archive_url":"https://api.github.com/repos/myitcv/typescript-formatter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myitcv/typescript-formatter/downloads","issues_url":"https://api.github.com/repos/myitcv/typescript-formatter/issues{/number}","pulls_url":"https://api.github.com/repos/myitcv/typescript-formatter/pulls{/number}","milestones_url":"https://api.github.com/repos/myitcv/typescript-formatter/milestones{/number}","notifications_url":"https://api.github.com/repos/myitcv/typescript-formatter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myitcv/typescript-formatter/labels{/name}","releases_url":"https://api.github.com/repos/myitcv/typescript-formatter/releases{/id}","created_at":"2015-08-03T16:57:12Z","updated_at":"2015-08-03T16:57:13Z","pushed_at":"2015-09-22T14:19:16Z","git_url":"git://github.com/myitcv/typescript-formatter.git","ssh_url":"git@github.com:myitcv/typescript-formatter.git","clone_url":"https://github.com/myitcv/typescript-formatter.git","svn_url":"https://github.com/myitcv/typescript-formatter","homepage":null,"size":259,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"vvakame:master","ref":"master","sha":"0ed83474ae173ce7f3a93abe1d06f46d6a433cb0","user":{"login":"vvakame","id":125332,"avatar_url":"https://avatars.githubusercontent.com/u/125332?v=3","gravatar_id":"","url":"https://api.github.com/users/vvakame","html_url":"https://github.com/vvakame","followers_url":"https://api.github.com/users/vvakame/followers","following_url":"https://api.github.com/users/vvakame/following{/other_user}","gists_url":"https://api.github.com/users/vvakame/gists{/gist_id}","starred_url":"https://api.github.com/users/vvakame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvakame/subscriptions","organizations_url":"https://api.github.com/users/vvakame/orgs","repos_url":"https://api.github.com/users/vvakame/repos","events_url":"https://api.github.com/users/vvakame/events{/privacy}","received_events_url":"https://api.github.com/users/vvakame/received_events","type":"User","site_admin":false},"repo":{"id":16856748,"name":"typescript-formatter","full_name":"vvakame/typescript-formatter","owner":{"login":"vvakame","id":125332,"avatar_url":"https://avatars.githubusercontent.com/u/125332?v=3","gravatar_id":"","url":"https://api.github.com/users/vvakame","html_url":"https://github.com/vvakame","followers_url":"https://api.github.com/users/vvakame/followers","following_url":"https://api.github.com/users/vvakame/following{/other_user}","gists_url":"https://api.github.com/users/vvakame/gists{/gist_id}","starred_url":"https://api.github.com/users/vvakame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvakame/subscriptions","organizations_url":"https://api.github.com/users/vvakame/orgs","repos_url":"https://api.github.com/users/vvakame/repos","events_url":"https://api.github.com/users/vvakame/events{/privacy}","received_events_url":"https://api.github.com/users/vvakame/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vvakame/typescript-formatter","description":"Formatter of TypeScript code","fork":false,"url":"https://api.github.com/repos/vvakame/typescript-formatter","forks_url":"https://api.github.com/repos/vvakame/typescript-formatter/forks","keys_url":"https://api.github.com/repos/vvakame/typescript-formatter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vvakame/typescript-formatter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vvakame/typescript-formatter/teams","hooks_url":"https://api.github.com/repos/vvakame/typescript-formatter/hooks","issue_events_url":"https://api.github.com/repos/vvakame/typescript-formatter/issues/events{/number}","events_url":"https://api.github.com/repos/vvakame/typescript-formatter/events","assignees_url":"https://api.github.com/repos/vvakame/typescript-formatter/assignees{/user}","branches_url":"https://api.github.com/repos/vvakame/typescript-formatter/branches{/branch}","tags_url":"https://api.github.com/repos/vvakame/typescript-formatter/tags","blobs_url":"https://api.github.com/repos/vvakame/typescript-formatter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vvakame/typescript-formatter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vvakame/typescript-formatter/git/refs{/sha}","trees_url":"https://api.github.com/repos/vvakame/typescript-formatter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vvakame/typescript-formatter/statuses/{sha}","languages_url":"https://api.github.com/repos/vvakame/typescript-formatter/languages","stargazers_url":"https://api.github.com/repos/vvakame/typescript-formatter/stargazers","contributors_url":"https://api.github.com/repos/vvakame/typescript-formatter/contributors","subscribers_url":"https://api.github.com/repos/vvakame/typescript-formatter/subscribers","subscription_url":"https://api.github.com/repos/vvakame/typescript-formatter/subscription","commits_url":"https://api.github.com/repos/vvakame/typescript-formatter/commits{/sha}","git_commits_url":"https://api.github.com/repos/vvakame/typescript-formatter/git/commits{/sha}","comments_url":"https://api.github.com/repos/vvakame/typescript-formatter/comments{/number}","issue_comment_url":"https://api.github.com/repos/vvakame/typescript-formatter/issues/comments{/number}","contents_url":"https://api.github.com/repos/vvakame/typescript-formatter/contents/{+path}","compare_url":"https://api.github.com/repos/vvakame/typescript-formatter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vvakame/typescript-formatter/merges","archive_url":"https://api.github.com/repos/vvakame/typescript-formatter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vvakame/typescript-formatter/downloads","issues_url":"https://api.github.com/repos/vvakame/typescript-formatter/issues{/number}","pulls_url":"https://api.github.com/repos/vvakame/typescript-formatter/pulls{/number}","milestones_url":"https://api.github.com/repos/vvakame/typescript-formatter/milestones{/number}","notifications_url":"https://api.github.com/repos/vvakame/typescript-formatter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vvakame/typescript-formatter/labels{/name}","releases_url":"https://api.github.com/repos/vvakame/typescript-formatter/releases{/id}","created_at":"2014-02-15T04:47:19Z","updated_at":"2015-09-20T20:41:58Z","pushed_at":"2015-09-21T14:32:23Z","git_url":"git://github.com/vvakame/typescript-formatter.git","ssh_url":"git@github.com:vvakame/typescript-formatter.git","clone_url":"https://github.com/vvakame/typescript-formatter.git","svn_url":"https://github.com/vvakame/typescript-formatter","homepage":null,"size":510,"stargazers_count":35,"watchers_count":35,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":11,"forks":8,"open_issues":11,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/24"},"html":{"href":"https://github.com/vvakame/typescript-formatter/pull/24"},"issue":{"href":"https://api.github.com/repos/vvakame/typescript-formatter/issues/24"},"comments":{"href":"https://api.github.com/repos/vvakame/typescript-formatter/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vvakame/typescript-formatter/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/vvakame/typescript-formatter/statuses/bb05b98754f0f54d81ed14c2bfbc030fee90084a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":43,"deletions":17,"changed_files":5}}