You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This extension has been broken for a while now for me both in .vue and .ts files.
Linting with webpack using ForkTsCheckerWebpackPlugin works fine as well as the vscode-tslint-extension for linting .ts files, both of course with the same tsconfig.json, tslint.json and versions of installed libraries
Output
[Info - 2:20:10 PM] Linter is running.
[Info - 2:20:11 PM] TSLint library loaded from: /Users/me/project/node_modules/tslint/lib/index.js
The 'no-internal-module' rule threw an error in '/Users/me/project/src/components/pages/MyPage/MyComponent.vue':
TypeError: Cannot read property 'kind' of undefined
at NoInternalModuleWalker.checkModuleDeclaration (/Users/me/project/node_modules/tslint/lib/rules/noInternalModuleRule.js:66:23)
at NoInternalModuleWalker.checkStatements (/Users/me/project/node_modules/tslint/lib/rules/noInternalModuleRule.js:60:22)
at NoInternalModuleWalker.walk (/Users/me/project/node_modules/tslint/lib/rules/noInternalModuleRule.js:54:21)
at Rule.AbstractRule.applyWithWalker (/Users/me/project/node_modules/tslint/lib/language/rule/abstractRule.js:31:16)
at Rule.apply (/Users/me/project/node_modules/tslint/lib/rules/noInternalModuleRule.js:29:21)
at Linter.applyRule (/Users/me/project/node_modules/tslint/lib/linter.js:197:29)
at /Users/me/project/node_modules/tslint/lib/linter.js:139:85
at Object.flatMap (/Users/me/project/node_modules/tslint/lib/utils.js:151:29)
at Linter.getAllFailures (/Users/me/project/node_modules/tslint/lib/linter.js:139:32)
at Linter.lint (/Users/me/project/node_modules/tslint/lib/linter.js:99:33)
UPDATE
After further trial and error the TypeError: Cannot read property 'kind' of undefined error happened for the no-internal-module & no-namespace rules. Disabling those in tslint.json made the error disappear. So now the tslint output is free from errors, although extension is still not working, tslint error highlighting is nowhere to be seen.
Uh oh!
There was an error while loading. Please reload this page.
This extension has been broken for a while now for me both in
.vue
and.ts
files.Linting with webpack using
ForkTsCheckerWebpackPlugin
works fine as well as thevscode-tslint
-extension for linting.ts
files, both of course with the same tsconfig.json, tslint.json and versions of installed librariesOutput
UPDATE
After further trial and error the
TypeError: Cannot read property 'kind' of undefined
error happened for theno-internal-module
&no-namespace
rules. Disabling those intslint.json
made the error disappear. So now the tslint output is free from errors, although extension is still not working, tslint error highlighting is nowhere to be seen.Output
The text was updated successfully, but these errors were encountered: