You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make sure the graphql-eslint version under package.json matches yours.
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
When you import this plugin in your eslint config and use nodejs 22 eslint will always crash. You do not have to use the plugin itself. It only needs to be imported
To Reproduce Steps to reproduce the behavior:
import this plugin into your eslint.config.js
run eslint
it crashes with SyntaxError: Unexpected identifier 'assert'
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
When you import this plugin in your eslint config and use nodejs 22 eslint will always crash. You do not have to use the plugin itself. It only needs to be imported
To Reproduce Steps to reproduce the behavior:
SyntaxError: Unexpected identifier 'assert'
Expected behavior
Environment:
@graphql-eslint/eslint-plugin
: 4.0.0-alpha.3Additional context
NodeJS has removed support for "assert" here: nodejs/node#52104
The feature is used in https://github.com/dimaMachina/graphql-eslint/blame/master/packages/plugin/src/meta.ts
The text was updated successfully, but these errors were encountered: