Skip to content

Commit 1f2b80f

Browse files
committed
feat: 🎸 Add new prettier tailwind plugin to sort tailwindcss
This plugin will help maintain consistency in the codebase BREAKING CHANGE: 🧨 No ✅ Closes: #900
1 parent 453acbc commit 1f2b80f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.prettierrc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"singleQuote": false,
33
"semi": true,
44
"tabWidth": 2,
5-
"printWidth": 80
5+
"printWidth": 80,
6+
"plugins": ["prettier-plugin-tailwindcss"]
67
}

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"lint-staged": "^16.2.3",
9090
"postcss": "^8.5.3",
9191
"prettier": "^3.6.2",
92+
"prettier-plugin-tailwindcss": "^0.6.14",
9293
"tailwindcss": "^4.1.4",
9394
"typescript": "~5.3"
9495
},

0 commit comments

Comments
 (0)