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

Enforce Formatting of md,js,html,yml with Prettier #6973

Open
cwfitzgerald opened this issue Jan 23, 2025 · 3 comments
Open

Enforce Formatting of md,js,html,yml with Prettier #6973

cwfitzgerald opened this issue Jan 23, 2025 · 3 comments
Labels
area: infrastructure Testing, building, coordinating issues type: enhancement New feature or request

Comments

@cwfitzgerald
Copy link
Member

In #6368, we decided not using CI to do this, but we should include this as part of the release process, just to keep tabs on everything.

@ErichDonGubler how do we actually do this locally?

@cwfitzgerald cwfitzgerald added area: infrastructure Testing, building, coordinating issues type: enhancement New feature or request labels Jan 23, 2025
@cwfitzgerald cwfitzgerald changed the title Enforce Formatting. of md,js,html,yml with Prettier Enforce Formatting of md,js,html,yml with Prettier Jan 23, 2025
@ErichDonGubler
Copy link
Member

I think we could simply:

  1. Resurrect Enforce fmt. of *.{md,js,html,yml} with prettier  #6368 or make a new PR with the same history.
  2. Move the automated enforcement in CI to a procedure for a human to do.
  3. ???
  4. Profit.

@cwfitzgerald
Copy link
Member Author

Yeah - my question could be more simply restated as: "how to install and run prettier locally" :)

@ErichDonGubler
Copy link
Member

Prettier can be installed with any Node toolchain management. Most users are familiar with npm install -g prettier. I'm partial to volta install prettier, myself, since Volta nicely solves a lot of Node toolchain management headaches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infrastructure Testing, building, coordinating issues type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants