{"action":"created","comment":{"url":"https://api.github.com/repos/palantir/tslint/pulls/comments/89384690","pull_request_review_id":9929535,"id":89384690,"diff_hunk":"@@ -19,6 +19,12 @@ import * as ts from \"typescript\";\n \n import * as Lint from \"../lint\";\n \n+const OPTION_ALL = \"all\";","path":"src/rules/curlyRule.ts","position":4,"original_position":4,"commit_id":"0389316c159ac100cfe9c51079eef974fa635be6","original_commit_id":"0389316c159ac100cfe9c51079eef974fa635be6","user":{"login":"nchen63","id":9285485,"avatar_url":"https://avatars.githubusercontent.com/u/9285485?v=3","gravatar_id":"","url":"https://api.github.com/users/nchen63","html_url":"https://github.com/nchen63","followers_url":"https://api.github.com/users/nchen63/followers","following_url":"https://api.github.com/users/nchen63/following{/other_user}","gists_url":"https://api.github.com/users/nchen63/gists{/gist_id}","starred_url":"https://api.github.com/users/nchen63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nchen63/subscriptions","organizations_url":"https://api.github.com/users/nchen63/orgs","repos_url":"https://api.github.com/users/nchen63/repos","events_url":"https://api.github.com/users/nchen63/events{/privacy}","received_events_url":"https://api.github.com/users/nchen63/received_events","type":"User","site_admin":false},"body":"rename to \"always\" to be consistent with other rules (I realize this is different from eslint)","created_at":"2016-11-23T19:28:35Z","updated_at":"2016-11-23T19:31:18Z","html_url":"https://github.com/palantir/tslint/pull/1565#discussion_r89384690","pull_request_url":"https://api.github.com/repos/palantir/tslint/pulls/1565","_links":{"self":{"href":"https://api.github.com/repos/palantir/tslint/pulls/comments/89384690"},"html":{"href":"https://github.com/palantir/tslint/pull/1565#discussion_r89384690"},"pull_request":{"href":"https://api.github.com/repos/palantir/tslint/pulls/1565"}}},"pull_request":{"url":"https://api.github.com/repos/palantir/tslint/pulls/1565","id":86273687,"html_url":"https://github.com/palantir/tslint/pull/1565","diff_url":"https://github.com/palantir/tslint/pull/1565.diff","patch_url":"https://github.com/palantir/tslint/pull/1565.patch","issue_url":"https://api.github.com/repos/palantir/tslint/issues/1565","number":1565,"state":"open","locked":false,"title":"Improve Curly rule with more granular options","user":{"login":"devrelm","id":2008333,"avatar_url":"https://avatars.githubusercontent.com/u/2008333?v=3","gravatar_id":"","url":"https://api.github.com/users/devrelm","html_url":"https://github.com/devrelm","followers_url":"https://api.github.com/users/devrelm/followers","following_url":"https://api.github.com/users/devrelm/following{/other_user}","gists_url":"https://api.github.com/users/devrelm/gists{/gist_id}","starred_url":"https://api.github.com/users/devrelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devrelm/subscriptions","organizations_url":"https://api.github.com/users/devrelm/orgs","repos_url":"https://api.github.com/users/devrelm/repos","events_url":"https://api.github.com/users/devrelm/events{/privacy}","received_events_url":"https://api.github.com/users/devrelm/received_events","type":"User","site_admin":false},"body":"In #822, there was a request to improve the Curly rule with the ability to have single-line unbraced statements. This PR adds the options per [my comment on that issue](https://github.com/palantir/tslint/issues/822#issuecomment-247307510).\n\nOne thing to note: the presence of an option in the config will require brackets for that case, but the absence of an option does not require the absence of brackets for that case.\n","created_at":"2016-09-22T03:12:25Z","updated_at":"2016-11-23T19:31:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bca0c11d8fd5bcd17df3a704f354a719af0fd7f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/palantir/tslint/pulls/1565/commits","review_comments_url":"https://api.github.com/repos/palantir/tslint/pulls/1565/comments","review_comment_url":"https://api.github.com/repos/palantir/tslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/1565/comments","statuses_url":"https://api.github.com/repos/palantir/tslint/statuses/0389316c159ac100cfe9c51079eef974fa635be6","head":{"label":"devrelm:curly","ref":"curly","sha":"0389316c159ac100cfe9c51079eef974fa635be6","user":{"login":"devrelm","id":2008333,"avatar_url":"https://avatars.githubusercontent.com/u/2008333?v=3","gravatar_id":"","url":"https://api.github.com/users/devrelm","html_url":"https://github.com/devrelm","followers_url":"https://api.github.com/users/devrelm/followers","following_url":"https://api.github.com/users/devrelm/following{/other_user}","gists_url":"https://api.github.com/users/devrelm/gists{/gist_id}","starred_url":"https://api.github.com/users/devrelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devrelm/subscriptions","organizations_url":"https://api.github.com/users/devrelm/orgs","repos_url":"https://api.github.com/users/devrelm/repos","events_url":"https://api.github.com/users/devrelm/events{/privacy}","received_events_url":"https://api.github.com/users/devrelm/received_events","type":"User","site_admin":false},"repo":{"id":68153860,"name":"tslint","full_name":"devrelm/tslint","owner":{"login":"devrelm","id":2008333,"avatar_url":"https://avatars.githubusercontent.com/u/2008333?v=3","gravatar_id":"","url":"https://api.github.com/users/devrelm","html_url":"https://github.com/devrelm","followers_url":"https://api.github.com/users/devrelm/followers","following_url":"https://api.github.com/users/devrelm/following{/other_user}","gists_url":"https://api.github.com/users/devrelm/gists{/gist_id}","starred_url":"https://api.github.com/users/devrelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devrelm/subscriptions","organizations_url":"https://api.github.com/users/devrelm/orgs","repos_url":"https://api.github.com/users/devrelm/repos","events_url":"https://api.github.com/users/devrelm/events{/privacy}","received_events_url":"https://api.github.com/users/devrelm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devrelm/tslint","description":"An extensible linter for the TypeScript language.","fork":true,"url":"https://api.github.com/repos/devrelm/tslint","forks_url":"https://api.github.com/repos/devrelm/tslint/forks","keys_url":"https://api.github.com/repos/devrelm/tslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devrelm/tslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devrelm/tslint/teams","hooks_url":"https://api.github.com/repos/devrelm/tslint/hooks","issue_events_url":"https://api.github.com/repos/devrelm/tslint/issues/events{/number}","events_url":"https://api.github.com/repos/devrelm/tslint/events","assignees_url":"https://api.github.com/repos/devrelm/tslint/assignees{/user}","branches_url":"https://api.github.com/repos/devrelm/tslint/branches{/branch}","tags_url":"https://api.github.com/repos/devrelm/tslint/tags","blobs_url":"https://api.github.com/repos/devrelm/tslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devrelm/tslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devrelm/tslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/devrelm/tslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devrelm/tslint/statuses/{sha}","languages_url":"https://api.github.com/repos/devrelm/tslint/languages","stargazers_url":"https://api.github.com/repos/devrelm/tslint/stargazers","contributors_url":"https://api.github.com/repos/devrelm/tslint/contributors","subscribers_url":"https://api.github.com/repos/devrelm/tslint/subscribers","subscription_url":"https://api.github.com/repos/devrelm/tslint/subscription","commits_url":"https://api.github.com/repos/devrelm/tslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/devrelm/tslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/devrelm/tslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/devrelm/tslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/devrelm/tslint/contents/{+path}","compare_url":"https://api.github.com/repos/devrelm/tslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devrelm/tslint/merges","archive_url":"https://api.github.com/repos/devrelm/tslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devrelm/tslint/downloads","issues_url":"https://api.github.com/repos/devrelm/tslint/issues{/number}","pulls_url":"https://api.github.com/repos/devrelm/tslint/pulls{/number}","milestones_url":"https://api.github.com/repos/devrelm/tslint/milestones{/number}","notifications_url":"https://api.github.com/repos/devrelm/tslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devrelm/tslint/labels{/name}","releases_url":"https://api.github.com/repos/devrelm/tslint/releases{/id}","deployments_url":"https://api.github.com/repos/devrelm/tslint/deployments","created_at":"2016-09-13T22:53:10Z","updated_at":"2016-09-13T22:53:12Z","pushed_at":"2016-09-22T02:53:28Z","git_url":"git://github.com/devrelm/tslint.git","ssh_url":"git@github.com:devrelm/tslint.git","clone_url":"https://github.com/devrelm/tslint.git","svn_url":"https://github.com/devrelm/tslint","homepage":"http://palantir.github.io/tslint/","size":10377,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"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":"palantir:master","ref":"master","sha":"424ce70710030de41f7c2fc38a66a0f0d3e7af70","user":{"login":"palantir","id":303157,"avatar_url":"https://avatars.githubusercontent.com/u/303157?v=3","gravatar_id":"","url":"https://api.github.com/users/palantir","html_url":"https://github.com/palantir","followers_url":"https://api.github.com/users/palantir/followers","following_url":"https://api.github.com/users/palantir/following{/other_user}","gists_url":"https://api.github.com/users/palantir/gists{/gist_id}","starred_url":"https://api.github.com/users/palantir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palantir/subscriptions","organizations_url":"https://api.github.com/users/palantir/orgs","repos_url":"https://api.github.com/users/palantir/repos","events_url":"https://api.github.com/users/palantir/events{/privacy}","received_events_url":"https://api.github.com/users/palantir/received_events","type":"Organization","site_admin":false},"repo":{"id":11672345,"name":"tslint","full_name":"palantir/tslint","owner":{"login":"palantir","id":303157,"avatar_url":"https://avatars.githubusercontent.com/u/303157?v=3","gravatar_id":"","url":"https://api.github.com/users/palantir","html_url":"https://github.com/palantir","followers_url":"https://api.github.com/users/palantir/followers","following_url":"https://api.github.com/users/palantir/following{/other_user}","gists_url":"https://api.github.com/users/palantir/gists{/gist_id}","starred_url":"https://api.github.com/users/palantir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palantir/subscriptions","organizations_url":"https://api.github.com/users/palantir/orgs","repos_url":"https://api.github.com/users/palantir/repos","events_url":"https://api.github.com/users/palantir/events{/privacy}","received_events_url":"https://api.github.com/users/palantir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/palantir/tslint","description":"An extensible linter for the TypeScript language","fork":false,"url":"https://api.github.com/repos/palantir/tslint","forks_url":"https://api.github.com/repos/palantir/tslint/forks","keys_url":"https://api.github.com/repos/palantir/tslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palantir/tslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palantir/tslint/teams","hooks_url":"https://api.github.com/repos/palantir/tslint/hooks","issue_events_url":"https://api.github.com/repos/palantir/tslint/issues/events{/number}","events_url":"https://api.github.com/repos/palantir/tslint/events","assignees_url":"https://api.github.com/repos/palantir/tslint/assignees{/user}","branches_url":"https://api.github.com/repos/palantir/tslint/branches{/branch}","tags_url":"https://api.github.com/repos/palantir/tslint/tags","blobs_url":"https://api.github.com/repos/palantir/tslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palantir/tslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palantir/tslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/palantir/tslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palantir/tslint/statuses/{sha}","languages_url":"https://api.github.com/repos/palantir/tslint/languages","stargazers_url":"https://api.github.com/repos/palantir/tslint/stargazers","contributors_url":"https://api.github.com/repos/palantir/tslint/contributors","subscribers_url":"https://api.github.com/repos/palantir/tslint/subscribers","subscription_url":"https://api.github.com/repos/palantir/tslint/subscription","commits_url":"https://api.github.com/repos/palantir/tslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/palantir/tslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/palantir/tslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/palantir/tslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/palantir/tslint/contents/{+path}","compare_url":"https://api.github.com/repos/palantir/tslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palantir/tslint/merges","archive_url":"https://api.github.com/repos/palantir/tslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palantir/tslint/downloads","issues_url":"https://api.github.com/repos/palantir/tslint/issues{/number}","pulls_url":"https://api.github.com/repos/palantir/tslint/pulls{/number}","milestones_url":"https://api.github.com/repos/palantir/tslint/milestones{/number}","notifications_url":"https://api.github.com/repos/palantir/tslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palantir/tslint/labels{/name}","releases_url":"https://api.github.com/repos/palantir/tslint/releases{/id}","deployments_url":"https://api.github.com/repos/palantir/tslint/deployments","created_at":"2013-07-25T22:19:18Z","updated_at":"2016-11-23T13:27:40Z","pushed_at":"2016-11-23T18:30:10Z","git_url":"git://github.com/palantir/tslint.git","ssh_url":"git@github.com:palantir/tslint.git","clone_url":"https://github.com/palantir/tslint.git","svn_url":"https://github.com/palantir/tslint","homepage":"http://palantir.github.io/tslint/","size":12572,"stargazers_count":1240,"watchers_count":1240,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":288,"mirror_url":null,"open_issues_count":276,"forks":288,"open_issues":276,"watchers":1240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/palantir/tslint/pulls/1565"},"html":{"href":"https://github.com/palantir/tslint/pull/1565"},"issue":{"href":"https://api.github.com/repos/palantir/tslint/issues/1565"},"comments":{"href":"https://api.github.com/repos/palantir/tslint/issues/1565/comments"},"review_comments":{"href":"https://api.github.com/repos/palantir/tslint/pulls/1565/comments"},"review_comment":{"href":"https://api.github.com/repos/palantir/tslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palantir/tslint/pulls/1565/commits"},"statuses":{"href":"https://api.github.com/repos/palantir/tslint/statuses/0389316c159ac100cfe9c51079eef974fa635be6"}}}}
{"actor":{"display_login":"nchen63"}}