diff --git a/.prettierrc b/.prettierrc index cf04e7521..395ae39af 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,8 @@ { - "plugins": ["prettier-plugin-go-template"], + "plugins": [ + "prettier-plugin-go-template", + "@awmottaz/prettier-plugin-void-html" + ], "overrides": [ { "files": ["*.html"], diff --git a/package.json b/package.json index 86901377a..937bff5b0 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "author": "", "license": "", "devDependencies": { + "@awmottaz/prettier-plugin-void-html": "^1.8.0", "@tailwindcss/cli": "^4.0.0", "@tailwindcss/typography": "^0.5.15", "prettier": "^3.5.0",