From a4428166f775ad9425d14a0206159b152460f8ed Mon Sep 17 00:00:00 2001 From: Patrick Schratz Date: Sun, 19 Nov 2023 22:47:14 +0100 Subject: [PATCH] Add `prettier` pre-commit hook (#2762) Co-authored-by: 6543 <6543@obermui.de> --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a74ccd97c..3cb96d705 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,6 +28,10 @@ repos: rev: v2.12.1-beta hooks: - id: hadolint + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.1.0 + hooks: + - id: prettier ci: autofix_commit_msg: |