Skip to content

Commit

Permalink
chore: add common tailwind functions for prettier
Browse files Browse the repository at this point in the history
this allows formatting within these functions which was missing prior.
  • Loading branch information
steveoh committed Dec 5, 2024
1 parent 27de0e1 commit 0320f0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-tailwindcss"],
"printWidth": 120,
"singleQuote": true
"singleQuote": true,
"tailwindFunctions": ["clsx", "tv", "twMerge", "twJoin"]
}

0 comments on commit 0320f0e

Please sign in to comment.