From 54f2ceec60f83e5370480ff6f18de841f93331ef Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Wed, 21 Aug 2024 13:04:42 +0900 Subject: [PATCH 1/2] 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] From d36f4d91e704b641856e52efa16451d07cc37aca Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Wed, 21 Aug 2024 13:06:55 +0900 Subject: [PATCH 2/2] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 399444720e..8b5a34907d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -82,8 +82,8 @@ repos: - 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] +- repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.1.0 + hooks: + - id: prettier + types_or: [yaml, html, css, scss, javascript, json, toml]