{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/735","labels_url":"https://api.github.com/repos/palantir/tslint/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/735/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/735/events","html_url":"https://github.com/palantir/tslint/pull/735","id":111434650,"number":735,"title":"Rule to prevent certain keywords being used as variable names","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},"labels":[{"url":"https://api.github.com/repos/palantir/tslint/labels/PR:%20Needs%20Revision","name":"PR: Needs Revision","color":"FBEA92"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-14T16:17:35Z","updated_at":"2015-10-16T19:35:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/palantir/tslint/pulls/735","html_url":"https://github.com/palantir/tslint/pull/735","diff_url":"https://github.com/palantir/tslint/pull/735.diff","patch_url":"https://github.com/palantir/tslint/pull/735.patch"},"body":"Prevents nasties like:\r\n\r\n```typescript\r\nlet undefined = 5;\r\nlet Number: Number;\r\nfunction F8(undefined) {}\r\nfunction G7(boolean: boolean) {}\r\nlet [ string ] = [ 5 ];\r\nlet { boolean } = { boolean: 1 };\r\n```\r\n\r\nComments/thoughts welcomed. "},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/148814834","html_url":"https://github.com/palantir/tslint/pull/735#issuecomment-148814834","issue_url":"https://api.github.com/repos/palantir/tslint/issues/735","id":148814834,"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},"created_at":"2015-10-16T19:35:27Z","updated_at":"2015-10-16T19:35:27Z","body":"@JKillian agree that is totally bizarre but I intentionally didn't include such things in this rule because arguably you could/should make those definitions in `lib.d.ts` `const` (unless I'm missing something?) "}}