Skip to content

Commit 924cbd8

Browse files
committed
add tailwind prettier plugin
1 parent 4e2e7c9 commit 924cbd8

2 files changed

Lines changed: 86 additions & 0 deletions

File tree

package-lock.json

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"lint-staged": "^15.3.0",
3434
"postcss": "^8.4.49",
3535
"prettier": "3.4.2",
36+
"prettier-plugin-tailwindcss": "^0.6.11",
3637
"tailwindcss": "^3.4.17",
3738
"typescript": "~5.6.2",
3839
"typescript-eslint": "^8.18.2",
@@ -41,5 +42,10 @@
4142
"lint-staged": {
4243
"*.{js,jsx,ts,tsx}": "eslint --fix",
4344
"*.{js,jsx,ts,tsx,md,html,css}": "prettier --write"
45+
},
46+
"prettier": {
47+
"plugins": [
48+
"prettier-plugin-tailwindcss"
49+
]
4450
}
4551
}

0 commit comments

Comments
 (0)