diff --git a/.prettierrc b/.prettierrc index a77fddea90975988d17a7e8b2f61720939a947f5..e6d2cfbde3de732fc861cb71989faa7af3f638b6 100644 --- a/.prettierrc +++ b/.prettierrc @@ -3,7 +3,14 @@ "singleQuote": true, "trailingComma": "none", "printWidth": 100, - "plugins": ["prettier-plugin-svelte"], - "pluginSearchDirs": ["."], - "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] + "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], + "pluginSearchDirs": false, + "overrides": [ + { + "files": "*.svelte", + "options": { + "parser": "svelte" + } + } + ] } diff --git a/package.json b/package.json index 5ac22880241f04e751c822173b5e551e7d7d00b1..e16c3200fc1d42286dbb0b4b5628dabbc2972113 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "postcss": "^8.4.20", "prettier": "^2.8.0", "prettier-plugin-svelte": "^2.8.1", + "prettier-plugin-tailwindcss": "^0.2.1", "svelte": "^3.54.0", "svelte-check": "^2.9.2", "tailwindcss": "^3.2.4",