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

Upgrade Prettier and run on all supported files #1823

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

lawrence-forooghian
Copy link
Collaborator

@lawrence-forooghian lawrence-forooghian commented Jul 29, 2024

(Context: I was making some changes to the GitHub workflow files elsewhere and noticed that Git was showing me trailing whitespace, meaning that these files weren’t being automatically formatted. So thought I’d fix that.)

See commit messages for more details.

It’s a bit annoying having to keep adding new files to the list each
time we add a new directory or something. And there are some things that
we should have been automatically formatting but weren’t, e.g. our YAML
files.

I’ve removed the --ignore-path arguments since the Prettier
documentation [1] says that

> By default, Prettier looks for ./.gitignore and ./.prettierignore.

[1] https://prettier.io/docs/en/cli#--ignore-path
It’s already in .gitignore and hence ignored by Prettier.
Copy link
Collaborator

@ttypic ttypic left a comment

Choose a reason for hiding this comment

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

Nice work, I would suggest merging without #1824

@lawrence-forooghian lawrence-forooghian merged commit ca1524e into main Jul 31, 2024
13 checks passed
@lawrence-forooghian lawrence-forooghian deleted the upgrade-prettier-and-run-on-everything branch July 31, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants