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

🛠 Tooling: Prettier git hook doesn't seem to be running #334

Open
3 tasks done
JoshuaKGoldberg opened this issue Aug 26, 2022 · 0 comments
Open
3 tasks done

🛠 Tooling: Prettier git hook doesn't seem to be running #334

JoshuaKGoldberg opened this issue Aug 26, 2022 · 0 comments
Labels
area: tooling Builds, infrastructure, packages, and other repository management good first issue Good for newcomers - welcome aboard! status: accepting prs Go ahead and send a pull request to resolve this issue! type: bug Oh no! Something is broken!

Comments

@JoshuaKGoldberg
Copy link
Member

Tooling Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

I think I'm missing something in .hooks or Husky setup or ... something. But git commit doesn't seem to be autoformatting things with Prettier.

Additional Info

See this guide for how to set things up: https://prettier.io/docs/en/precommit.html. Specifically, https://prettier.io/docs/en/precommit.html#option-1-lint-stagedhttpsgithubcomokonetlint-staged

@JoshuaKGoldberg JoshuaKGoldberg added type: bug Oh no! Something is broken! status: accepting prs Go ahead and send a pull request to resolve this issue! area: tooling Builds, infrastructure, packages, and other repository management good first issue Good for newcomers - welcome aboard! labels Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tooling Builds, infrastructure, packages, and other repository management good first issue Good for newcomers - welcome aboard! status: accepting prs Go ahead and send a pull request to resolve this issue! type: bug Oh no! Something is broken!
Projects
None yet
Development

No branches or pull requests

1 participant