Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint-plugin-prettier and remove override for graphql files #341

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

BPScott
Copy link
Member

@BPScott BPScott commented Jun 29, 2022

Description

As of v4.1.0 eslint-plugin-prettier shall inherently skip running over
graphql files, so the override to turn that off is not needed.

This means we can remove the override to disable prettier for graphql
files, as this had the undesired effect of making eslint's "work out
what files to lint based on the file extensions used in overrides" logic
think that eslint should try to lint graphql files if you used the
plugin:@shopify/prettier preset

As of v4.1.0 eslint-plugin-prettier shall inherently skip running over
graphql files, so this override is not needed.

This means we can remove the override to disable prettier for graphql
files, as this had the undesired effect of making eslint's "work out
what files to lint based on the file extensions used in overrides" logic
think that eslint should try to lint graphql files if you used the
`plugin:@shopify/prettier` preset
@BPScott BPScott requested a review from a team June 29, 2022 19:23
@BPScott BPScott merged commit 8cbfc69 into main Jun 29, 2022
@BPScott BPScott deleted the prettier-graphql-interaction branch June 29, 2022 19:31
@github-actions github-actions bot mentioned this pull request Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant