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'
22
33import _ from 'lodash'
44import postcss from 'postcss'
5- import stylefmt from 'stylefmt '
5+ import perfectionist from 'perfectionist '
66
77import registerConfigAsDependency from './lib/registerConfigAsDependency'
88import substituteTailwindPreflightAtRule from './lib/substituteTailwindPreflightAtRule'
@@ -41,7 +41,15 @@ const plugin = postcss.plugin('tailwind', config => {
4141 substituteResponsiveAtRules ( lazyConfig ) ,
4242 substituteScreenAtRules ( lazyConfig ) ,
4343 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+ } ) ,
4553 ]
4654 )
4755} )
You can’t perform that action at this time.
0 commit comments