Skip to content
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

incompatible with @graphql-eslint/eslint-plugin out of box #411

Closed
JounQin opened this issue Apr 22, 2021 · 0 comments · Fixed by #413
Closed

incompatible with @graphql-eslint/eslint-plugin out of box #411

JounQin opened this issue Apr 22, 2021 · 0 comments · Fixed by #413

Comments

@JounQin
Copy link
Member

JounQin commented Apr 22, 2021

That's because of eslint-plugin-graphql.

It wraps GraphQL source code into a js string tag, we supported this usage by mapping graphql to babel parser at #11.

But @graphql-eslint/eslint-plugin works with a custom estree-compatible parser, then the mapping is incorrect for it.

I'm going to raise a PR to support these two plugins/processors at the same time!

Related to dimaMachina/graphql-eslint#395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant