-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not report any errors #49
Comments
Same issue here. Eclipse Wild Web Developer is using this plugin; but trying to upgrade to newer version shows similar symptoms, also with typescript-language-server. |
I'm having the same issue. I traced down the cause in my case. In
The culprit is a call to function loadConfigFile(filePath) {
switch (path.extname(filePath)) {
// ...
}
}
Tracing back, the missing file path is the real path of The language service plugin is not passing any parameter (which seems to be allowed by In the end, this looks like a ESLint bug, since they have an optional argument with no default. The bug was introduced by the PR eslint/eslintrc#11. A workaround is to stop using the module.exports = {
// ...
extends: [
require.resolve("eslint/conf/eslint-recommended.js"), // should be "eslint:recommended"
"plugin:@typescript-eslint/recommended",
],
// ...
}; |
FWIW, Wild Web Developer migrated to use the language server that's behind the vscode-eslint extension and doesn't use this tsserver plugin any more. |
@lorenzodallavecchia Thanks for your comment. It helped me so much |
I can't seem to get this to work. Is there any way of enabling some sort of debugging?
My
jsconfig.json
:Relevant part of my
tsserver
log:My
.eslintrc.js
:And my
devDependencies
:The text was updated successfully, but these errors were encountered: