Use Prettier pre-commit mirror (#1896)

This fixes Prettier install failures similar to those seen in
https://github.com/prettier/prettier/issues/9459, and is the solution
recommended there.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
Paul "TBBle" Hampson 2021-01-02 05:54:35 +11:00 committed by GitHub
parent 33d8613715
commit f07832eac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,8 @@ repos:
- id: mypy - id: mypy
exclude: ^docs/conf.py exclude: ^docs/conf.py
- repo: https://github.com/prettier/prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: 1.19.1 rev: v1.19.1
hooks: hooks:
- id: prettier - id: prettier
args: [--prose-wrap=always, --print-width=88] args: [--prose-wrap=always, --print-width=88]