Przeglądaj źródła

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

satnaing 2 miesięcy temu
rodzic
commit
861ffdf2ca
2 zmienionych plików z 2 dodań i 0 usunięć
  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$",