-
-
Notifications
You must be signed in to change notification settings - Fork 29
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 activate if package.json is in a subdirectory #18
Comments
Thanks for reporting this. You are right that it's not working at the moment. It was reported in the VSCode ESLint repository as well microsoft/vscode-eslint#32. These projects are quite similar. I would be happy to receive a good PR but I'm not sure if it's that easy to do. |
as a workaround, you can symlink your node_modules and package.json in the project root, that makes it work for now but of course clutters your git status. |
@SamVerschueren You can use the I think the extension will need to look up the xo from the correct pkgdir on every call, maybe keeping a cache if that gets slow. |
Any update on this issue? The linked microsoft/vscode-eslint#32 issue is solved already. I'm also seeing this error from the plugin:
|
Same issue here: [Error - 14:41:14] Request textDocument/codeAction failed.
Message: Unhandled method textDocument/codeAction
Code: -32601 |
Tracking that issue here #28 now as it is unrelated to this one. I'm all open for help on this issue as I don't really have much time to look into it. |
Hey thanks for the plugin!
I have a project repo which is structured:
If I open
./angular/
as the VSC workspace then the linter works correctly. But if I open the main repo, the linter doesn't seem to activate at all, with no error message given. Is there any way I can look into what's going on?If a patch would be needed to support this I'm happy to give it a go!
The text was updated successfully, but these errors were encountered: