Jelajahi Sumber

chore(prettier): add tailwindFunctions for cn/clsx class sorting

satnaing 2 bulan lalu
induk
melakukan
861ffdf2ca
2 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 1 0
      .prettierignore
  2. 1 0
      .prettierrc

+ 1 - 0
.prettierignore

@@ -13,6 +13,7 @@
 !README.md
 !eslint.config.js
 !postcss.config.js
+!.vscode/
 
 # Ignore auto generated routeTree.gen.ts
 /src/routeTree.gen.ts

+ 1 - 0
.prettierrc

@@ -12,6 +12,7 @@
     "@trivago/prettier-plugin-sort-imports",
     "prettier-plugin-tailwindcss"
   ],
+  "tailwindFunctions": ["cn", "clsx"],
   "tailwindStylesheet": "./src/styles/index.css",
   "importOrder": [
     "^path$",