{"action":"created","comment":{"url":"https://api.github.com/repos/palantir/tslint/pulls/comments/33495402","id":33495402,"diff_hunk":"@@ -50,7 +50,13 @@ class IndentWalker extends Lint.RuleWalker {\n         }\n         var scanner = ts.createScanner(ts.ScriptTarget.ES5, false, node.text);\n         var lineStarts = node.getLineStarts();\n+        var endOfComment = -1;","path":"src/rules/indentRule.ts","position":4,"original_position":4,"commit_id":"156e2f0b8de3eec7eeb18427d18f2bbf2eb11af7","original_commit_id":"156e2f0b8de3eec7eeb18427d18f2bbf2eb11af7","user":{"login":"adidahiya","id":723999,"avatar_url":"https://avatars.githubusercontent.com/u/723999?v=3","gravatar_id":"","url":"https://api.github.com/users/adidahiya","html_url":"https://github.com/adidahiya","followers_url":"https://api.github.com/users/adidahiya/followers","following_url":"https://api.github.com/users/adidahiya/following{/other_user}","gists_url":"https://api.github.com/users/adidahiya/gists{/gist_id}","starred_url":"https://api.github.com/users/adidahiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adidahiya/subscriptions","organizations_url":"https://api.github.com/users/adidahiya/orgs","repos_url":"https://api.github.com/users/adidahiya/repos","events_url":"https://api.github.com/users/adidahiya/events{/privacy}","received_events_url":"https://api.github.com/users/adidahiya/received_events","type":"User","site_admin":false},"body":"This branch is behind `master`, you'll need to rebase to pick up some new linting rules. For example, we've turned on the `no-var-keyword` rule, so this should be a `const.","created_at":"2015-06-29T18:26:53Z","updated_at":"2015-06-29T18:26:53Z","html_url":"https://github.com/palantir/tslint/pull/323#discussion_r33495402","pull_request_url":"https://api.github.com/repos/palantir/tslint/pulls/323","_links":{"self":{"href":"https://api.github.com/repos/palantir/tslint/pulls/comments/33495402"},"html":{"href":"https://github.com/palantir/tslint/pull/323#discussion_r33495402"},"pull_request":{"href":"https://api.github.com/repos/palantir/tslint/pulls/323"}}},"pull_request":{"url":"https://api.github.com/repos/palantir/tslint/pulls/323","id":29344660,"html_url":"https://github.com/palantir/tslint/pull/323","diff_url":"https://github.com/palantir/tslint/pull/323.diff","patch_url":"https://github.com/palantir/tslint/pull/323.patch","issue_url":"https://api.github.com/repos/palantir/tslint/issues/323","number":323,"state":"open","locked":false,"title":"Skip checking indentation inside multi-line comments","user":{"login":"Nemo157","id":81079,"avatar_url":"https://avatars.githubusercontent.com/u/81079?v=3","gravatar_id":"","url":"https://api.github.com/users/Nemo157","html_url":"https://github.com/Nemo157","followers_url":"https://api.github.com/users/Nemo157/followers","following_url":"https://api.github.com/users/Nemo157/following{/other_user}","gists_url":"https://api.github.com/users/Nemo157/gists{/gist_id}","starred_url":"https://api.github.com/users/Nemo157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nemo157/subscriptions","organizations_url":"https://api.github.com/users/Nemo157/orgs","repos_url":"https://api.github.com/users/Nemo157/repos","events_url":"https://api.github.com/users/Nemo157/events{/privacy}","received_events_url":"https://api.github.com/users/Nemo157/received_events","type":"User","site_admin":false},"body":"Eventually a full implementation of [smart-tabs](http://www.emacswiki.org/emacs/SmartTabs) would be nice, but the only case I've seen failing so far is using an initial space to align the asterisks in a multi-line comment. This allows that use-case (along with other multi-line comment formats) by simply turning off indentation checking inside multi-line comments.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/palantir/tslint/323)\n<!-- Reviewable:end -->\n","created_at":"2015-02-16T00:46:56Z","updated_at":"2015-06-29T18:26:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b519a3d26e0f7c0de656e6f9927fd041211462eb","assignee":{"login":"gscshoyru","id":2463526,"avatar_url":"https://avatars.githubusercontent.com/u/2463526?v=3","gravatar_id":"","url":"https://api.github.com/users/gscshoyru","html_url":"https://github.com/gscshoyru","followers_url":"https://api.github.com/users/gscshoyru/followers","following_url":"https://api.github.com/users/gscshoyru/following{/other_user}","gists_url":"https://api.github.com/users/gscshoyru/gists{/gist_id}","starred_url":"https://api.github.com/users/gscshoyru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gscshoyru/subscriptions","organizations_url":"https://api.github.com/users/gscshoyru/orgs","repos_url":"https://api.github.com/users/gscshoyru/repos","events_url":"https://api.github.com/users/gscshoyru/events{/privacy}","received_events_url":"https://api.github.com/users/gscshoyru/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/palantir/tslint/pulls/323/commits","review_comments_url":"https://api.github.com/repos/palantir/tslint/pulls/323/comments","review_comment_url":"https://api.github.com/repos/palantir/tslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/323/comments","statuses_url":"https://api.github.com/repos/palantir/tslint/statuses/156e2f0b8de3eec7eeb18427d18f2bbf2eb11af7","head":{"label":"Nemo157:smarten-tabs","ref":"smarten-tabs","sha":"156e2f0b8de3eec7eeb18427d18f2bbf2eb11af7","user":{"login":"Nemo157","id":81079,"avatar_url":"https://avatars.githubusercontent.com/u/81079?v=3","gravatar_id":"","url":"https://api.github.com/users/Nemo157","html_url":"https://github.com/Nemo157","followers_url":"https://api.github.com/users/Nemo157/followers","following_url":"https://api.github.com/users/Nemo157/following{/other_user}","gists_url":"https://api.github.com/users/Nemo157/gists{/gist_id}","starred_url":"https://api.github.com/users/Nemo157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nemo157/subscriptions","organizations_url":"https://api.github.com/users/Nemo157/orgs","repos_url":"https://api.github.com/users/Nemo157/repos","events_url":"https://api.github.com/users/Nemo157/events{/privacy}","received_events_url":"https://api.github.com/users/Nemo157/received_events","type":"User","site_admin":false},"repo":{"id":30846698,"name":"tslint","full_name":"Nemo157/tslint","owner":{"login":"Nemo157","id":81079,"avatar_url":"https://avatars.githubusercontent.com/u/81079?v=3","gravatar_id":"","url":"https://api.github.com/users/Nemo157","html_url":"https://github.com/Nemo157","followers_url":"https://api.github.com/users/Nemo157/followers","following_url":"https://api.github.com/users/Nemo157/following{/other_user}","gists_url":"https://api.github.com/users/Nemo157/gists{/gist_id}","starred_url":"https://api.github.com/users/Nemo157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nemo157/subscriptions","organizations_url":"https://api.github.com/users/Nemo157/orgs","repos_url":"https://api.github.com/users/Nemo157/repos","events_url":"https://api.github.com/users/Nemo157/events{/privacy}","received_events_url":"https://api.github.com/users/Nemo157/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nemo157/tslint","description":"A linter for the TypeScript language.","fork":true,"url":"https://api.github.com/repos/Nemo157/tslint","forks_url":"https://api.github.com/repos/Nemo157/tslint/forks","keys_url":"https://api.github.com/repos/Nemo157/tslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nemo157/tslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nemo157/tslint/teams","hooks_url":"https://api.github.com/repos/Nemo157/tslint/hooks","issue_events_url":"https://api.github.com/repos/Nemo157/tslint/issues/events{/number}","events_url":"https://api.github.com/repos/Nemo157/tslint/events","assignees_url":"https://api.github.com/repos/Nemo157/tslint/assignees{/user}","branches_url":"https://api.github.com/repos/Nemo157/tslint/branches{/branch}","tags_url":"https://api.github.com/repos/Nemo157/tslint/tags","blobs_url":"https://api.github.com/repos/Nemo157/tslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nemo157/tslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nemo157/tslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nemo157/tslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nemo157/tslint/statuses/{sha}","languages_url":"https://api.github.com/repos/Nemo157/tslint/languages","stargazers_url":"https://api.github.com/repos/Nemo157/tslint/stargazers","contributors_url":"https://api.github.com/repos/Nemo157/tslint/contributors","subscribers_url":"https://api.github.com/repos/Nemo157/tslint/subscribers","subscription_url":"https://api.github.com/repos/Nemo157/tslint/subscription","commits_url":"https://api.github.com/repos/Nemo157/tslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nemo157/tslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nemo157/tslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nemo157/tslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nemo157/tslint/contents/{+path}","compare_url":"https://api.github.com/repos/Nemo157/tslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nemo157/tslint/merges","archive_url":"https://api.github.com/repos/Nemo157/tslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nemo157/tslint/downloads","issues_url":"https://api.github.com/repos/Nemo157/tslint/issues{/number}","pulls_url":"https://api.github.com/repos/Nemo157/tslint/pulls{/number}","milestones_url":"https://api.github.com/repos/Nemo157/tslint/milestones{/number}","notifications_url":"https://api.github.com/repos/Nemo157/tslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nemo157/tslint/labels{/name}","releases_url":"https://api.github.com/repos/Nemo157/tslint/releases{/id}","created_at":"2015-02-15T23:43:33Z","updated_at":"2015-02-15T23:43:34Z","pushed_at":"2015-06-22T01:25:10Z","git_url":"git://github.com/Nemo157/tslint.git","ssh_url":"git@github.com:Nemo157/tslint.git","clone_url":"https://github.com/Nemo157/tslint.git","svn_url":"https://github.com/Nemo157/tslint","homepage":null,"size":8521,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"0bf66d8c0e0e31a6c5352caf9756a8ec3e84df5b","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":"A 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}","created_at":"2013-07-25T22:19:18Z","updated_at":"2015-06-25T23:07:59Z","pushed_at":"2015-06-29T14:04:20Z","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":null,"size":11867,"stargazers_count":285,"watchers_count":285,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":71,"mirror_url":null,"open_issues_count":62,"forks":71,"open_issues":62,"watchers":285,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/palantir/tslint/pulls/323"},"html":{"href":"https://github.com/palantir/tslint/pull/323"},"issue":{"href":"https://api.github.com/repos/palantir/tslint/issues/323"},"comments":{"href":"https://api.github.com/repos/palantir/tslint/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/palantir/tslint/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/palantir/tslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palantir/tslint/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/palantir/tslint/statuses/156e2f0b8de3eec7eeb18427d18f2bbf2eb11af7"}}}}