Skip to content

Commit d40d437

Browse files
authored
feat(prettier): add 'cva' to tailwindFunctions for improved compatibility (#21)
1 parent d9b6e44 commit d40d437

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prettier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const config = {
4141
],
4242
plugins: ['prettier-plugin-tailwindcss'],
4343
tailwindAttributes: ['class', 'className', 'ngClass', '.*[cC]lassName'],
44-
tailwindFunctions: ['clsx', 'cn'],
44+
tailwindFunctions: ['clsx', 'cn', 'cva'],
4545
}
4646

4747
// this is for backward compatibility

0 commit comments

Comments
 (0)