From 6dc2db4c5233abe9c6099dc03d6a8b0b72ea0006 Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Fri, 20 Sep 2024 23:55:41 -0500 Subject: [PATCH] Fix prettier config --- eleventy.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eleventy.config.js b/eleventy.config.js index 123fc92..86d68f2 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -27,7 +27,7 @@ export default async function(eleventyConfig) { // Transforms eleventyConfig.addTransform("prettier", function (content, outputPath) { if (outputPath && outputPath.endsWith(".html")) { - return prettier.format(content, {parser: "html", bracketSameLine: true, vueIndentScriptAndStyle: true, singleAttributePerLine: true, htmlWhitespaceSensitivity: "ignore"}); + return prettier.format(content, {parser: "html", bracketSameLine: true, vueIndentScriptAndStyle: true, singleAttributePerLine: true, htmlWhitespaceSensitivity: "css"}); } else { return content; }