Avasam / pre-commit-dprint

Mirror of dprint for pre-commit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dprint pre-commit mirror

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.

License:MIT License