diff --git a/.prettierrc b/.prettierrc index 9a234b24..5f4310d8 100644 --- a/.prettierrc +++ b/.prettierrc @@ -9,5 +9,6 @@ "bracketSpacing": true, "bracketSameLine": false, "arrowParens": "always", - "endOfLine": "lf" + "endOfLine": "lf", + "plugins": ["prettier-plugin-tailwindcss"] } diff --git a/package.json b/package.json index 5f0f3a10..39fcad25 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "msw": "^2.3.0", "postcss": "^8.4.38", "prettier": "3.2.5", + "prettier-plugin-tailwindcss": "^0.6.5", "tailwindcss": "^3.4.3", "typescript": "^5.2.2", "vite": "^5.2.0", diff --git a/yarn.lock b/yarn.lock index e4366539..026c68cb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3463,6 +3463,11 @@ prelude-ls@^1.2.1: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== +prettier-plugin-tailwindcss@^0.6.5: + version "0.6.5" + resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.5.tgz#e05202784a3f41889711ae38c75c5b8cad72f368" + integrity sha512-axfeOArc/RiGHjOIy9HytehlC0ZLeMaqY09mm8YCkMzznKiDkwFzOpBvtuhuv3xG5qB73+Mj7OCe2j/L1ryfuQ== + prettier@3.2.5: version "3.2.5" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"