🛠️ Add prettier-plugin-tailwindcss.

This commit is contained in:
pheralb 2023-03-15 12:11:13 +00:00
parent 5d276af8a0
commit e829e8925a
2 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,7 @@
"postcss": "8.4.21", "postcss": "8.4.21",
"prettier": "2.8.4", "prettier": "2.8.4",
"prettier-plugin-svelte": "2.9.0", "prettier-plugin-svelte": "2.9.0",
"prettier-plugin-tailwindcss": "0.2.4",
"svelte": "3.56.0", "svelte": "3.56.0",
"svelte-check": "3.1.4", "svelte-check": "3.1.4",
"tailwindcss": "3.2.7", "tailwindcss": "3.2.7",

4
prettier.config.cjs Normal file
View File

@ -0,0 +1,4 @@
/** @type {import("prettier").Config} */
module.exports = {
plugins: [require.resolve('prettier-plugin-tailwindcss')]
};