chore: Update Prettier

Added a workaround to select the latest version of Prettier with
pre-commit, since the pre-commit mirror repo started tracking alpha
releases and doesn't have anything beyond 2.7.1.
This commit is contained in:
Joel Spadin
2023-04-23 00:00:12 -05:00
committed by Pete Johanson
parent 94061bb916
commit 5b07c86d05
5 changed files with 19 additions and 16 deletions

View File

@@ -15,6 +15,9 @@ repos:
rev: v2.7.1
hooks:
- id: prettier
# Workaround for https://github.com/pre-commit/mirrors-prettier/issues/29
additional_dependencies:
- prettier@2.8.7
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks: