Skip to content

Update dependency @graphql-eslint/eslint-plugin to v4#217

Open
renovate[bot] wants to merge 5 commits intomainfrom
dependencies/graphql-eslint-eslint-plugin-4.x
Open

Update dependency @graphql-eslint/eslint-plugin to v4#217
renovate[bot] wants to merge 5 commits intomainfrom
dependencies/graphql-eslint-eslint-plugin-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Aug 15, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-eslint/eslint-plugin ^3.19.1^4.0.0 age adoption passing confidence

Release Notes

dimaMachina/graphql-eslint (@​graphql-eslint/eslint-plugin)

v4.4.0

Compare Source

v4.3.0

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

v4.0.1

Compare Source

v4.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "after 9am and before 5pm on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 15, 2025
@renovate renovate Bot requested a review from a team as a code owner August 15, 2025 10:13
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 15, 2025
@literat literat changed the base branch from main to dependencies/eslint-9.x August 15, 2025 11:51
@literat literat force-pushed the dependencies/graphql-eslint-eslint-plugin-4.x branch from 2f5e825 to 3a9c02b Compare August 15, 2025 11:53
@renovate renovate Bot force-pushed the dependencies/graphql-eslint-eslint-plugin-4.x branch from 3a9c02b to e625364 Compare March 17, 2026 20:35
@renovate renovate Bot requested a review from literat as a code owner March 17, 2026 20:35
@renovate renovate Bot changed the title Deps: Update dependency @graphql-eslint/eslint-plugin to v4 Update dependency @graphql-eslint/eslint-plugin to v4 Mar 17, 2026
@renovate renovate Bot changed the base branch from dependencies/eslint-9.x to main March 17, 2026 20:35
@renovate renovate Bot force-pushed the dependencies/graphql-eslint-eslint-plugin-4.x branch 3 times, most recently from 1bfe622 to 25a7f1d Compare March 18, 2026 15:49
@renovate renovate Bot force-pushed the dependencies/graphql-eslint-eslint-plugin-4.x branch from 25a7f1d to 4dcc69c Compare March 27, 2026 12:59
@literat literat force-pushed the dependencies/graphql-eslint-eslint-plugin-4.x branch from 4dcc69c to 8f3f9bd Compare March 29, 2026 12:16
@literat literat changed the base branch from main to bc/migrate-eslint-config-graphql March 29, 2026 12:16
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Mar 29, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@literat literat added the BC Breaking change label Mar 29, 2026
@literat literat force-pushed the bc/migrate-eslint-config-graphql branch from 59fa327 to 1074e5b Compare March 29, 2026 13:39
Base automatically changed from bc/migrate-eslint-config-graphql to main March 29, 2026 13:41
renovate Bot and others added 3 commits March 29, 2026 15:42
…rmat

BREAKING CHANGES:
  * ESLint v9 is now required
  * package type is change to module
  * config format is changed to flat
@literat literat force-pushed the dependencies/graphql-eslint-eslint-plugin-4.x branch from e9952e3 to 798bbe1 Compare March 29, 2026 13:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates @graphql-eslint/eslint-plugin to v4 and migrates @alma-oss/eslint-config-graphql to ESLint 9 flat-config + ESM packaging.

Changes:

  • Bump @graphql-eslint/eslint-plugin to ^4.0.0 (and related GraphQL tooling deps via lockfile refresh).
  • Convert @alma-oss/eslint-config-graphql to an ESM, flat-config export and update peer dependency to ESLint ^9.
  • Add unit tests and GraphQL schema fixtures to validate .graphql linting.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
yarn.lock Lockfile refresh for @graphql-eslint/eslint-plugin@4 and transitive dependency graph updates.
packages/eslint-config-graphql/package.json Switch to ESM (type: module), add exports, add unit test script, update deps/peers for ESLint 9 + graphql-eslint v4.
packages/eslint-config-graphql/index.js Rewrite config as ESLint flat-config array using graphql-eslint plugin integration.
packages/eslint-config-graphql/__tests__/index.test.js Add node:test-based tests validating config structure and .graphql lint results.
packages/eslint-config-graphql/__tests__/__fixtures__/schema-valid.graphql Add valid schema fixture for lint tests.
packages/eslint-config-graphql/__tests__/__fixtures__/schema-invalid.graphql Add invalid schema fixture to trigger known-type-names.
packages/eslint-config-graphql/README.md Update docs to flat-config usage and describe embedded GraphQL processing + rules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/eslint-config-graphql/README.md
Comment thread packages/eslint-config-graphql/package.json
export default [
{
name: '@alma-oss/eslint-config-graphql',
files: [...globs.configs, ...globs.javascripts, ...globs.typescripts],
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The processor is only applied to globs.javascripts and globs.typescripts, but globs.javascripts does not include *.jsx. This means embedded GraphQL in JSX files (common with React) won’t be processed/linted. Consider expanding the files patterns here to include *.jsx (and any other JS variants you support) so the README claim about embedded GraphQL applies to React code too.

Suggested change
files: [...globs.configs, ...globs.javascripts, ...globs.typescripts],
files: [...globs.configs, ...globs.javascripts, ...globs.typescripts, '*.jsx'],

Copilot uses AI. Check for mistakes.
Comment thread packages/eslint-config-graphql/index.js Outdated
Comment thread packages/eslint-config-graphql/__tests__/index.test.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BC Breaking change dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants