HSLdevcom / HSLdevcom/digitransit-ui

eslint-plugin-graphql deprecated

Open
#4,750 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
267
Forks
145
Avg merge
1d 15h
Merged PRs (30d)
75

Description

digitransit-ui currently uses eslint-plugin-graphql, which in it's latest version 4.0.0 only supports graphql in the following versions ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0.

Aseslint-plugin-graphql is deprecated, the project should switch to the recommended graphql-eslint:

[2022-01-25] Note - Upcoming Deprecation Plans: We (Apollo) are working towards fully deprecating this repository. We suggest migrating to the community-supported graphql-eslint. We'll share detailed migration documentation when everything here is ready to be officially deprecated, but just a heads up in case you're planning on adopting anything here for a new project (which you still can of course if this project works for you - support for this project will be minimal however).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the package configuration and lint setup that use eslint-plugin-graphql, then read the graphql-eslint migration guidance linked in the issue. Run the existing lint checks before and after the migration; done means the deprecated plugin is replaced and linting still works with the project's GraphQL versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, graphql, javascript
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.