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

Fully remove prettier #5227

Merged
merged 1 commit into from
Aug 22, 2019
Merged

Fully remove prettier #5227

merged 1 commit into from
Aug 22, 2019

Conversation

hwillson
Copy link
Member

Changes were made a while back to stop prettier changes from being applied automatically at commit time. This commit goes further and fully removes prettier. The Apollo Client team has decided to no longer use prettier to enforce code formatting across the codebase. In most cases existing code styles should be followed as much as possible, but this is not a hard and fast rule.

Changes were made a while back to stop `prettier` changes from
being applied automatically at commit time. This commit goes
further and fully removes `prettier`. The Apollo Client team
has decided to no longer use `prettier` to enforce code
formatting across the codebase. In most cases existing code
styles should be followed as much as possible, but this is not
a hard and fast rule.
@hwillson hwillson merged commit f36f8c0 into release-3.0 Aug 22, 2019
@hwillson hwillson deleted the remove-prettier branch August 22, 2019 10:40
@hwillson hwillson restored the remove-prettier branch August 22, 2019 11:07
StephenBarlow pushed a commit that referenced this pull request Oct 1, 2019
Changes were made a while back to stop `prettier` changes from
being applied automatically at commit time. This commit goes
further and fully removes `prettier`. The Apollo Client team
has decided to no longer use `prettier` to enforce code
formatting across the codebase. In most cases existing code
styles should be followed as much as possible, but this is not
a hard and fast rule.
@ArnaudBarre
Copy link
Contributor

What was the motivation of this choice ? I'm just curious as it's more and more used across projects

@grrosegr
Copy link

+1 @hwillson would love to know why this was made and if you recommend others do it too?

@klaussner
Copy link

There's a great explanation in this apollo-server commit.

@ArnaudBarre
Copy link
Contributor

Thanks very interesting! On the review part of the issue, I discovered not so long ago this option on Github, that sadly on need to recheck every single time.
image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants