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
Updating to v3.20.0 causes this plugin to fail with the following error when using an override which extends schema-all
Oops! Something went wrong! :(ESLint: 8.44.0Error: ESLint configuration in .eslintrc.js#overrides[0] » plugin:@graphql-eslint/schema-all » ./configs/schema-recommended is invalid:
- Unexpected top-level property "default".Referenced from: /some/project/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/@graphql-eslint/eslint-plugin/cjs/index.js
at ConfigValidator.validateConfigSchema (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2168:19)
at ConfigArrayFactory._normalizeConfigData (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3010:19)
at ConfigArrayFactory._loadConfigData (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2975:21)
at ConfigArrayFactory._loadExtendedShareableConfig (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3276:21)
at ConfigArrayFactory._loadExtends (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3147:25)
at ConfigArrayFactory._normalizeObjectConfigDataBody (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3086:25)
at _normalizeObjectConfigDataBody.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigData (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3031:20)
at _normalizeObjectConfigData.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigDataBody (/some/project/node_modules/.pnpm/@[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3086:25)
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
Updating to v3.20.0 causes this plugin to fail with the following error when using an override which extends
schema-all
To Reproduce Steps to reproduce the behavior:
Expected behavior
I expect the plugin to successfully lint files and report linting errors
Environment:
@graphql-eslint/eslint-plugin
: 3.20.0Additional context
The text was updated successfully, but these errors were encountered: