{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-tslint/issues/74","repository_url":"https://api.github.com/repos/Microsoft/vscode-tslint","labels_url":"https://api.github.com/repos/Microsoft/vscode-tslint/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-tslint/issues/74/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-tslint/issues/74/events","html_url":"https://github.com/Microsoft/vscode-tslint/issues/74","id":172772233,"number":74,"title":"Errors not reported by tslint reported by vscode-tslint in 2.0.0","user":{"login":"ashleahhill","id":1854792,"avatar_url":"https://avatars.githubusercontent.com/u/1854792?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleahhill","html_url":"https://github.com/ashleahhill","followers_url":"https://api.github.com/users/ashleahhill/followers","following_url":"https://api.github.com/users/ashleahhill/following{/other_user}","gists_url":"https://api.github.com/users/ashleahhill/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleahhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleahhill/subscriptions","organizations_url":"https://api.github.com/users/ashleahhill/orgs","repos_url":"https://api.github.com/users/ashleahhill/repos","events_url":"https://api.github.com/users/ashleahhill/events{/privacy}","received_events_url":"https://api.github.com/users/ashleahhill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-23T18:29:35Z","updated_at":"2016-08-24T16:24:31Z","closed_at":null,"body":"I am using the this plugin to aid in developing an Angular2 app. SUPER HELPFUL.\r\n\r\nUnfortunately, after upgrading to Typescript 2.0.0 and adding some new configuration options to my tsconfig.json, vscode-tslint is no longer reporting correctly. \r\n\r\n\r\nNow, vscode-tslint is not recognizing that I have the `experimentalDecorators` option turned on. It is also not recognizing global typings (like `require`) . tslint itself reports no issues.\r\n\r\n## Example Errors\r\n```\r\n[ts]\r\nExperimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.\r\n\r\n[ts]\r\nCannot find name 'require'.\r\n```\r\n\r\n\r\n## Environment\r\n\r\n* global tslint: not installed\r\n* tslint version: 3.15.1\r\n* typescript version: 2.0.0\r\n* vscode-tslint version: 0.5.34 \r\n* Visual Studio Code version: 1.4.0\r\n\r\n## tsconfig.json\r\n\r\n### Previous\r\n\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"target\": \"ES5\",\r\n    \"module\": \"commonjs\",\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    \"sourceMap\": true,\r\n    \"noEmitHelpers\": true\r\n  },\r\n  \"exclude\": [\r\n    \"node_modules\",\r\n    \"typings/main\",\r\n    \"typings/main.d.ts\"\r\n  ],\r\n  \"compileOnSave\": false,\r\n  \"buildOnSave\": false\r\n}\r\n```\r\n\r\n### Current\r\n\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"target\": \"es5\",\r\n    \"module\": \"commonjs\",\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    \"sourceMap\": true,\r\n    \"noEmitOnError\": true,\r\n    \"declaration\": true,\r\n    \"lib\": [\r\n      \"es6\",\r\n      \"es2015\",\r\n      \"dom\"\r\n    ],\r\n    \"moduleResolution\": \"node\",\r\n    \"outDir\": \"lib\",\r\n    \"rootDir\": \"./src/components\",\r\n    \"inlineSources\": true,\r\n    \"stripInternal\": true,\r\n    \"typeRoots\": [\r\n      \"./node_modules/@types\"\r\n    ],\r\n    \"types\": [\r\n      \"node\"\r\n    ]\r\n  },\r\n  \"include\": [\r\n    \"./src/components/**/*.ts\"\r\n  ],\r\n  \"exclude\": [\r\n    \"./**/*.spec.ts\"\r\n  ]\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-tslint/issues/comments/242126027","html_url":"https://github.com/Microsoft/vscode-tslint/issues/74#issuecomment-242126027","issue_url":"https://api.github.com/repos/Microsoft/vscode-tslint/issues/74","id":242126027,"user":{"login":"ashleahhill","id":1854792,"avatar_url":"https://avatars.githubusercontent.com/u/1854792?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleahhill","html_url":"https://github.com/ashleahhill","followers_url":"https://api.github.com/users/ashleahhill/followers","following_url":"https://api.github.com/users/ashleahhill/following{/other_user}","gists_url":"https://api.github.com/users/ashleahhill/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleahhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleahhill/subscriptions","organizations_url":"https://api.github.com/users/ashleahhill/orgs","repos_url":"https://api.github.com/users/ashleahhill/repos","events_url":"https://api.github.com/users/ashleahhill/events{/privacy}","received_events_url":"https://api.github.com/users/ashleahhill/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T16:24:31Z","updated_at":"2016-08-24T16:24:31Z","body":"That fixed it! Thank you!"}}
{"actor":{"display_login":"ashleahhill"}}