Skip to content

Commit f7b3aad

Browse files
authored
Merge pull request #902 from vansh-codes/feat/add-prettier-tailwind-plugin
feat: 🎸 Add new prettier tailwind plugin to sort tailwindcss
2 parents 2af0990 + 1f2b80f commit f7b3aad

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)