.pre-commit-config.yaml: add prettier

This commit is contained in:
Aminda Suomalainen 2023-02-21 17:52:47 +02:00
parent 8549d03727
commit 314b0996af
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -5,7 +5,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-case-conflict
@ -14,3 +14,7 @@ repos:
- id: destroyed-symlinks
- id: detect-private-key
- id: fix-byte-order-marker
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4"
hooks:
- id: prettier