-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Eslint with remote schema not working in runtime #1721
Comments
Since there are no problems in cli, problem goes from upstream vscode-eslint |
Of course. But it is definitely related to graphql-eslint. And even if I have to create an issue on vscode-eslint I would like to understand how a remote circuit affects this |
@Flashantik Now you should have the correct error message that is produced due by #1091 (comment) and microsoft/vscode-eslint#1485 And to fix it, add {
"eslint.runtime": "/Users/dmytro/.nvm/versions/node/v18.16.1/bin/node"
} now you should have working graphql-eslint with remote schema too ... tadaaam |
You are awesome! Thx you for your attention and help |
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
eslint not working in runtime with remote graphql schema
(https://github.com/Flashantik/graphql-eslint/tree/remote)
But
run lint
work fine:with local schema all works fine
(https://github.com/Flashantik/graphql-eslint/tree/local)
eslint with remote schema not working in runtime
To Reproduce Steps to reproduce the behavior:
Expected behavior
eslint in runtime works
Environment:
@graphql-eslint/eslint-plugin
: 3.19.1Additional context
vscode 1.79.2 ( with "eslint.validate": ["graphql"] ) + eslint v2.4.2 (https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
The text was updated successfully, but these errors were encountered: