{"action":"created","issue":{"url":"https://api.github.com/repos/sourcegraph/javascript-typescript-langserver/issues/352","repository_url":"https://api.github.com/repos/sourcegraph/javascript-typescript-langserver","labels_url":"https://api.github.com/repos/sourcegraph/javascript-typescript-langserver/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/sourcegraph/javascript-typescript-langserver/issues/352/comments","events_url":"https://api.github.com/repos/sourcegraph/javascript-typescript-langserver/issues/352/events","html_url":"https://github.com/sourcegraph/javascript-typescript-langserver/issues/352","id":257580665,"number":352,"title":"Only Lint in TypeScript Projects?","user":{"login":"wldcordeiro","id":580982,"avatar_url":"https://avatars1.githubusercontent.com/u/580982?v=4","gravatar_id":"","url":"https://api.github.com/users/wldcordeiro","html_url":"https://github.com/wldcordeiro","followers_url":"https://api.github.com/users/wldcordeiro/followers","following_url":"https://api.github.com/users/wldcordeiro/following{/other_user}","gists_url":"https://api.github.com/users/wldcordeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/wldcordeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wldcordeiro/subscriptions","organizations_url":"https://api.github.com/users/wldcordeiro/orgs","repos_url":"https://api.github.com/users/wldcordeiro/repos","events_url":"https://api.github.com/users/wldcordeiro/events{/privacy}","received_events_url":"https://api.github.com/users/wldcordeiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-09-14T03:05:07Z","updated_at":"2017-09-17T17:59:10Z","closed_at":null,"author_association":"NONE","body":"This question is related to the new [Atom IDE Typescript server](https://github.com/atom/ide-typescript). But I've noticed that this is the tool behind it and that there isn't much they can do to enable this type of thing. But is there a way to get the server to only do the TS linting in TS Projects? I have both the TS IDE server and Flow-type as I work on projects using both and it becomes unbearable to see all the red but I *really* like what this server does for plain JS. If it is something that is already possible could I be pointed to how? I'll PR the Atom plugin with the fix. 😄 "},"comment":{"url":"https://api.github.com/repos/sourcegraph/javascript-typescript-langserver/issues/comments/330066092","html_url":"https://github.com/sourcegraph/javascript-typescript-langserver/issues/352#issuecomment-330066092","issue_url":"https://api.github.com/repos/sourcegraph/javascript-typescript-langserver/issues/352","id":330066092,"user":{"login":"tomv564","id":4395832,"avatar_url":"https://avatars0.githubusercontent.com/u/4395832?v=4","gravatar_id":"","url":"https://api.github.com/users/tomv564","html_url":"https://github.com/tomv564","followers_url":"https://api.github.com/users/tomv564/followers","following_url":"https://api.github.com/users/tomv564/following{/other_user}","gists_url":"https://api.github.com/users/tomv564/gists{/gist_id}","starred_url":"https://api.github.com/users/tomv564/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomv564/subscriptions","organizations_url":"https://api.github.com/users/tomv564/orgs","repos_url":"https://api.github.com/users/tomv564/repos","events_url":"https://api.github.com/users/tomv564/events{/privacy}","received_events_url":"https://api.github.com/users/tomv564/received_events","type":"User","site_admin":false},"created_at":"2017-09-17T17:59:10Z","updated_at":"2017-09-17T17:59:10Z","author_association":"CONTRIBUTOR","body":"The errors you are seeing are not a *linting* feature (that would be ts-lint).\r\nThey are diagnostics reported from Typescript's javascript parser, which is not expecting flow annotations.\r\n\r\nThis exact problem has come up for VS Code [here](https://github.com/flowtype/flow-for-vscode/issues/13) and [here](https://github.com/Microsoft/vscode/issues/17068).\r\nPerhaps you can find a good proposal for this server to implement there (eg. how is `javascript.validate.enable: \"false\"` implemented)?"}}
{"actor":{"display_login":"tomv564"}}