From 6d7339fa3ef1661099849e5093f01046d643b5d8 Mon Sep 17 00:00:00 2001 From: Kiran Jonnalagadda Date: Fri, 7 Jun 2024 12:27:55 +0530 Subject: [PATCH] Ignore Markdown files in Prettier Prettier messes up unordered lists due to https://github.com/prettier/prettier/issues/5019, pending a fix in https://github.com/prettier/prettier/pull/15526 --- .pre-commit-config.yaml | 1 - .prettierignore | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .prettierignore diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc905483a..c630a9d3b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -127,7 +127,6 @@ repos: rev: v3.3.1 hooks: - id: prettier - exclude: funnel/pages/ - repo: https://github.com/ducminh-phan/reformat-gherkin rev: v3.0.1 hooks: diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..de056073a --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +**/*.md