Skip to content

Commit

Permalink
🛠️ Add prettier-plugin-tailwindcss.
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Mar 15, 2023
1 parent 5d276af commit e829e89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"postcss": "8.4.21",
"prettier": "2.8.4",
"prettier-plugin-svelte": "2.9.0",
"prettier-plugin-tailwindcss": "0.2.4",
"svelte": "3.56.0",
"svelte-check": "3.1.4",
"tailwindcss": "3.2.7",
Expand Down
4 changes: 4 additions & 0 deletions prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import("prettier").Config} */
module.exports = {
plugins: [require.resolve('prettier-plugin-tailwindcss')]
};

0 comments on commit e829e89

Please sign in to comment.