Skip to content

Incompatible feature Unexpected token '||=' #1747

@JounQin

Description

@JounQin

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/@[email protected][email protected]/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions