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 feature Unexpected token '||=' #1747

Closed
1 of 4 tasks
JounQin opened this issue Jul 11, 2023 · 1 comment
Closed
1 of 4 tasks

Incompatible feature Unexpected token '||=' #1747

JounQin opened this issue Jul 11, 2023 · 1 comment

Comments

@JounQin
Copy link
Contributor

JounQin commented Jul 11, 2023

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

  • 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox

    For example, you can start off by editng the
    'basic' example on Stackblitz.

    Please make sure the graphql-eslint version under package.json matches yours.

https://github.com/prettier/eslint-plugin-prettier/actions/runs/5516930331/jobs/10058883702?pr=568

  • 2. A failing test has been provided
  • 3. A local solution has been provided
  • 4. A pull request is pending review

Describe the bug

https://github.com/B2o5T/graphql-eslint/blob/28e99a2438bb5aa0f03d506158e4fb7ad435864c/packages/plugin/package.json#L8-L10

To Reproduce Steps to reproduce the behavior:

/home/runner/work/eslint-plugin-prettier/eslint-plugin-prettier/node_modules/.pnpm/@graphql-eslint+eslint-plugin@3.20.0_graphql@16.7.1/node_modules/@graphql-eslint/eslint-plugin/cjs/parser.js:47
    options.documents ||= options.operations;
                      ^^^

Expected behavior

Environment:

  • OS:
  • @graphql-eslint/eslint-plugin: 3.20.0
  • Node.js: v14

Additional context

JounQin added a commit to prettier/eslint-plugin-prettier that referenced this issue Jul 11, 2023
@dimaMachina
Copy link
Owner

Recently I switched to tsup, I’ll fix it once back from vacation

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

No branches or pull requests

2 participants