Skip to content

Commit 3224d3b

Browse files
committed
feat(prettier): add tailwind plugin config
1 parent 44178df commit 3224d3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/prettier.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ export default {
2727
},
2828
],
2929
plugins: ['prettier-plugin-tailwindcss', 'prettier-plugin-organize-imports'],
30+
tailwindAttributes: ['class', 'className', 'ngClass', '.*[cC]lassName'],
31+
tailwindFunctions: ['clsx', 'cn'],
3032
organizeImportsSkipDestructiveCodeActions: true,
3133
}

0 commit comments

Comments
 (0)