Skip to content

Commit 4c01fd1

Browse files
committed
ENH: Update pre-commit mirrors-prettier hook to run for markdown
1 parent 46b911e commit 4c01fd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
rev: "v3.3.3"
3636
hooks:
3737
- id: prettier
38-
types_or: [yaml, json]
38+
types_or: [yaml, markdown, html, css, scss, javascript, json]
3939

4040
- repo: https://github.com/codespell-project/codespell
4141
rev: "v2.3.0"

{{cookiecutter.project_name}}/.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
rev: "v3.3.3"
3737
hooks:
3838
- id: prettier
39-
types_or: [yaml, json]
39+
types_or: [yaml, markdown, html, css, scss, javascript, json]
4040

4141
- repo: https://github.com/codespell-project/codespell
4242
rev: "v2.3.0"

0 commit comments

Comments
 (0)