Skip to content

pre-commit integration #442

@adamchainz

Description

@adamchainz

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.yaml file 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions