-
-
Notifications
You must be signed in to change notification settings - Fork 108
pre-commit integration #442
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hi!
Thank you for a wonderful tool. I am trying it out as an alternative to Prettier (and wrapper!), and enjoying it.
I use the pre-commit framework to run tools on changed files in Git. In order to integrate it with dprint, I set up a mirror repository: https://github.com/adamchainz/pre-commit-dprint .
If you’d like to make it a little easier for pre-commit users, you could host the
.pre-commit-hooks.yamlfile in the dprint repository. It’s only the one file, in order to tell pre-commit how to set up the repo and run the tool.No pressure to add this though - the mirror repository auto-updates with a daily GitHub Actions run.
Thank you again,
Adam