From 6f3a1160343680771eba989fad7ba1c480b3739c Mon Sep 17 00:00:00 2001 From: Charles Ulrich Date: Sun, 22 Dec 2024 12:35:02 -0500 Subject: [PATCH] Don't use prettier on Markdown files Prettier does "opinionated" (read: annoying) things to unordered lists in Markdown. See comments in file. I would be far less angry about this if I could apply the fix in `.prettierrc` instead of adding a whole new file to the top of the tree. If I run across another prettier issue that ends in me writing a salty commit message, I'm removing it from this project. --- .prettierignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..6f5f952 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +# Prettier does "opinionated" things to unordered lists in Markdown: +# https://github.com/prettier/prettier/issues/5019 +# https://github.com/prettier/prettier/issues/5308 +**/*.md