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

Format the repo #18118

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Format the repo #18118

merged 1 commit into from
Nov 15, 2024

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Nov 12, 2024

This PR formats the repo (pnpm format).

The rationale is that when I create a PR to this repo and want to format the code, I would run pnpm format but because the command fixes all the files in the repo, the PR include will include changes to file I have not updated (that is all the files formatted in this PR).

After the PR, running pnpm format will not add noise to PRs.

Note: I have added a few exclusions in .prettierignore as I don't think it makes sense to format those json files.

/cc @ToriLindsay

@ToriLindsay
Copy link
Contributor

ToriLindsay commented Nov 14, 2024

/cc @ToriLindsay

I'm not sure I'm the right person to review this, but I'm finding out who is.

@vicb
Copy link
Contributor Author

vicb commented Nov 15, 2024

rebased.

@ToriLindsay
Copy link
Contributor

@vicb Kian approved this so it's good to merge when you're ready.

@vicb vicb merged commit cda6db0 into cloudflare:production Nov 15, 2024
5 checks passed
@vicb vicb deleted the format branch November 15, 2024 15:31
@vicb
Copy link
Contributor Author

vicb commented Nov 15, 2024

Thanks @ToriLindsay and @KianNH 🙏

@Cherry
Copy link
Contributor

Cherry commented Nov 15, 2024

I had a lot of this in #17262, but looks like this one was merged first. I've updated my PR to reflect this.

harshil1712 pushed a commit that referenced this pull request Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.