Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

adamchainz/pre-commit-dprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dprint pre-commit mirror


Unmaintained: I'm no longer maintaining this repository because it doesn’t work very well with changes to dprint. See Issue #3 and Issue #4. If you’d like to take over, please email me.


Mirror of dprint for pre-commit.

Installation

Add to your pre-commit config:

-   repo: https://github.com/adamchainz/pre-commit-dprint
    rev: ''  # Use the sha / tag you want to point at
    hooks:
    -   id: dprint

Then add a dprint.json (or .dprint.json) configuration file in the root of your repository.

By default all text files are passed to dprint, which then only acts on files for which it has a relevant plugin configured.

About

Mirror of dprint for pre-commit.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published