Skip to content

Commit

Permalink
Use Prettier pre-commit mirror (#1896)
Browse files Browse the repository at this point in the history
This fixes Prettier install failures similar to those seen in
prettier/prettier#9459, and is the solution
recommended there.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
  • Loading branch information
TBBle committed Jan 1, 2021
1 parent 33d8613 commit f07832e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -24,8 +24,8 @@ repos:
- id: mypy
exclude: ^docs/conf.py

- repo: https://github.com/prettier/prettier
rev: 1.19.1
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v1.19.1
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]

0 comments on commit f07832e

Please sign in to comment.