From 54f2ceec60f83e5370480ff6f18de841f93331ef Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Wed, 21 Aug 2024 13:04:42 +0900 Subject: [PATCH] chore: add prettier to pre-commit hook configuration --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c42892e73..399444720e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -81,3 +81,9 @@ repos: args: ["--verbose"] - id: check-github-workflows args: ["--verbose"] + + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.1.0 + hooks: + - id: prettier + types_or: [yaml, html, css, scss, javascript, json, toml]