{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/331","labels_url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/331/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/331/events","html_url":"https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/331","id":103147192,"number":331,"title":"Include JS files for linting and type checking","user":{"login":"alexpaluzzi","id":1376892,"avatar_url":"https://avatars.githubusercontent.com/u/1376892?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpaluzzi","html_url":"https://github.com/alexpaluzzi","followers_url":"https://api.github.com/users/alexpaluzzi/followers","following_url":"https://api.github.com/users/alexpaluzzi/following{/other_user}","gists_url":"https://api.github.com/users/alexpaluzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpaluzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpaluzzi/subscriptions","organizations_url":"https://api.github.com/users/alexpaluzzi/orgs","repos_url":"https://api.github.com/users/alexpaluzzi/repos","events_url":"https://api.github.com/users/alexpaluzzi/events{/privacy}","received_events_url":"https://api.github.com/users/alexpaluzzi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-26T01:01:18Z","updated_at":"2015-08-30T00:05:13Z","closed_at":"2015-08-29T20:17:10Z","body":"Hey guys-- I love that the TS compiler also lints JS files on Visual Studio Code.\r\n\r\nI'm wondering if I can make the Sublime plugin do the same thing? I know that auto-completion with custom types (via d.ts?) are on the roadmap for JS files, but is it possible to just gain the out-of-the-box linting and intellisense that are inferred from the working file?\r\n\r\nSince \"all valid JavaScript is valid TypeScript,\" I didn't know if there was a switch or something I could flip. (Does this montra still hold true?)\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/comments/136064376","html_url":"https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/331#issuecomment-136064376","issue_url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/331","id":136064376,"user":{"login":"alexpaluzzi","id":1376892,"avatar_url":"https://avatars.githubusercontent.com/u/1376892?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpaluzzi","html_url":"https://github.com/alexpaluzzi","followers_url":"https://api.github.com/users/alexpaluzzi/followers","following_url":"https://api.github.com/users/alexpaluzzi/following{/other_user}","gists_url":"https://api.github.com/users/alexpaluzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpaluzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpaluzzi/subscriptions","organizations_url":"https://api.github.com/users/alexpaluzzi/orgs","repos_url":"https://api.github.com/users/alexpaluzzi/repos","events_url":"https://api.github.com/users/alexpaluzzi/events{/privacy}","received_events_url":"https://api.github.com/users/alexpaluzzi/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T00:05:13Z","updated_at":"2015-08-30T00:05:13Z","body":"Hey @billti, thanks for the response.\r\n\r\nThe intellisense is exactly what I'm talking about. I would love that feature somehow in Sublime. I apologize, perhaps \"linting\" wasn't the best word.\r\n\r\nI also understand the whole dynamic nature and it causing too much noise for someone who doesn't care about types. It seems to be enabled by default in Code (the warnings) when working with JS, but I get that's not really something related to this plugin.\r\n\r\nReally, it was just your first sentence there that is what I really wanted to see in Sublime. Sublime is my main tool after finally getting out of VIM. I really love the TypeScript plugin (you guys are awesome), and I'm envious of how great your TS language service works in Code. @DanielRosenwasser hit the nail on the head on his first response here, if I could just get it so somehow peek at JS files, maybe I could get it to get that intellisense via the type interface. :)\r\n\r\nIn any case, I appreciate your time and this plugin. I hope to be submitting some (unrelated) PRs shortly."}}