From 8a249d96a1be58169bb7b77bb5a274c2e20043af Mon Sep 17 00:00:00 2001 From: Thomas Kalverda Date: Mon, 29 Jan 2024 10:46:00 +0100 Subject: [PATCH] prevent html closing tag to be placed on newline https://trungk18.com/experience/prettier-prevent-html-closing-tag-new-line/ --- .prettierrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.prettierrc.js b/.prettierrc.js index fdd6872..255d727 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -2,5 +2,6 @@ module.exports = { semi: false, singleQuote: true, tabWidth: 2, + htmlWhitespaceSensitivity: 'ignore', plugins: [import('prettier-plugin-tailwindcss')], }