File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import path from 'path'
2
2
3
3
import _ from 'lodash'
4
4
import postcss from 'postcss'
5
- import stylefmt from 'stylefmt '
5
+ import perfectionist from 'perfectionist '
6
6
7
7
import registerConfigAsDependency from './lib/registerConfigAsDependency'
8
8
import substituteTailwindPreflightAtRule from './lib/substituteTailwindPreflightAtRule'
@@ -41,7 +41,15 @@ const plugin = postcss.plugin('tailwind', config => {
41
41
substituteResponsiveAtRules ( lazyConfig ) ,
42
42
substituteScreenAtRules ( lazyConfig ) ,
43
43
substituteClassApplyAtRules ( lazyConfig ) ,
44
- stylefmt ,
44
+ perfectionist ( {
45
+ cascade : false ,
46
+ colorShorthand : false ,
47
+ indentSize : 2 ,
48
+ maxSelectorLength : 1 ,
49
+ maxValueLength : false ,
50
+ trimLeadingZero : false ,
51
+ trimTrailingZeros : false ,
52
+ } ) ,
45
53
]
46
54
)
47
55
} )
You can’t perform that action at this time.
0 commit comments