From 4c01fd19593da84060b84ca3aebb949f7251014e Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 20 Aug 2024 09:47:07 -0400 Subject: [PATCH] ENH: Update pre-commit mirrors-prettier hook to run for markdown --- .pre-commit-config.yaml | 2 +- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53c3e22..f1c4d9d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,7 +35,7 @@ repos: rev: "v3.3.3" hooks: - id: prettier - types_or: [yaml, json] + types_or: [yaml, markdown, html, css, scss, javascript, json] - repo: https://github.com/codespell-project/codespell rev: "v2.3.0" diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 8fe1782..660ef81 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: rev: "v3.3.3" hooks: - id: prettier - types_or: [yaml, json] + types_or: [yaml, markdown, html, css, scss, javascript, json] - repo: https://github.com/codespell-project/codespell rev: "v2.3.0"