From: Paul "TBBle" Hampson Date: Fri, 1 Jan 2021 18:54:35 +0000 (+1100) Subject: Use Prettier pre-commit mirror (#1896) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/f07832eac44eb38f8b048aae3e1de3512a06057c?ds=sidebyside 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 --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc95e90..9955a24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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]