{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6690","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6690/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6690/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6690/events","html_url":"https://github.com/Microsoft/TypeScript/issues/6690","id":129446466,"number":6690,"title":"jsconfig default settings for module type is inconsistent","user":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-28T13:02:38Z","updated_at":"2016-01-28T13:02:38Z","closed_at":null,"body":"**No jsconfig.json in the workspace** \r\nThen the `module` type defaults to `none`\r\n\t\r\n**jsconfig.json exists but no `module` property defined**\r\nThen the `module` type defaults to `commonjs`\r\n\r\nSuggest that the module type default is always the same independent of whether there is a `jsconfig.json`.\r\n\r\nIf the module property is `commonjs` by default then I suggest that there is also a default for `exclude` containing the `node_modules` folder."}}