{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/1323","repository_url":"https://api.github.com/repos/palantir/tslint","labels_url":"https://api.github.com/repos/palantir/tslint/issues/1323/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/1323/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/1323/events","html_url":"https://github.com/palantir/tslint/issues/1323","id":161252947,"number":1323,"title":"Add optional type information to rules","user":{"login":"ScottSWu","id":3599407,"avatar_url":"https://avatars.githubusercontent.com/u/3599407?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottSWu","html_url":"https://github.com/ScottSWu","followers_url":"https://api.github.com/users/ScottSWu/followers","following_url":"https://api.github.com/users/ScottSWu/following{/other_user}","gists_url":"https://api.github.com/users/ScottSWu/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottSWu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottSWu/subscriptions","organizations_url":"https://api.github.com/users/ScottSWu/orgs","repos_url":"https://api.github.com/users/ScottSWu/repos","events_url":"https://api.github.com/users/ScottSWu/events{/privacy}","received_events_url":"https://api.github.com/users/ScottSWu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/palantir/tslint/labels/Resolution:%20Fixed","name":"Resolution: Fixed","color":"000000"},{"url":"https://api.github.com/repos/palantir/tslint/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"2588C4"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/palantir/tslint/milestones/24","html_url":"https://github.com/palantir/tslint/milestones/TSLint%20v3.14","labels_url":"https://api.github.com/repos/palantir/tslint/milestones/24/labels","id":1867883,"number":24,"title":"TSLint v3.14","description":"","creator":{"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},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-07-06T15:26:27Z","updated_at":"2016-07-11T23:51:39Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-06-20T17:43:53Z","updated_at":"2016-07-11T23:59:20Z","closed_at":"2016-07-11T23:51:39Z","body":"We would like to add type information to nodes and give rules access to the type checker, thus resolving #680. To maintain compatibility with current rules, a tentative design is to accept a ts.Program object in the Linter, and pass that to rules that implement an \"applyWithProgram\" function. A PR is in the works for this feature.\r\n\r\nFrom the cli, constructing the program would require tsconfig for compiler options. Would it be possible to add an argument in the TSLint cli for the config location and/or whether or not to enable type checking?"},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/231900709","html_url":"https://github.com/palantir/tslint/issues/1323#issuecomment-231900709","issue_url":"https://api.github.com/repos/palantir/tslint/issues/1323","id":231900709,"user":{"login":"alexeagle","id":47395,"avatar_url":"https://avatars.githubusercontent.com/u/47395?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeagle","html_url":"https://github.com/alexeagle","followers_url":"https://api.github.com/users/alexeagle/followers","following_url":"https://api.github.com/users/alexeagle/following{/other_user}","gists_url":"https://api.github.com/users/alexeagle/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeagle/subscriptions","organizations_url":"https://api.github.com/users/alexeagle/orgs","repos_url":"https://api.github.com/users/alexeagle/repos","events_url":"https://api.github.com/users/alexeagle/events{/privacy}","received_events_url":"https://api.github.com/users/alexeagle/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T23:59:20Z","updated_at":"2016-07-11T23:59:20Z","body":"Should #680 be closed as well?"}}
{"actor":{"display_login":"alexeagle"}}