Skip to content

Commit 4c93395

Browse files
committed
Manually update the prettier hook
The hook is manually updated to the last v3 tag available from the pre-commit/mirrors-prettier repository. We then add the latest release of v3 available from NPM as an additional depdency.
1 parent b9c729f commit 4c93395

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,16 @@ repos:
3737
args:
3838
- --config=.mdl_config.yaml
3939
- repo: https://github.com/pre-commit/mirrors-prettier
40-
rev: v3.0.3
40+
# This is the last version of v3 available from the mirror. We should hold
41+
# here until v4, which is currently in alpha, is more stable.
42+
rev: v3.1.0
4143
hooks:
4244
- id: prettier
45+
# This is the latest version of v3 available from NPM. The pre-commit
46+
# mirror does not pull tags for old major versions once a new major
47+
# version tag is published.
48+
additional_dependencies:
49+
4350
- repo: https://github.com/adrienverge/yamllint
4451
rev: v1.35.1
4552
hooks:

0 commit comments

Comments
 (0)