Open okannivadikubendran opened 2 years ago
Using @marko/prettyprint - 3.0.1 with the command marko-prettyprint . --single-quote --max-len 120, we are seeing following issues:
marko-prettyprint . --single-quote --max-len 120
options
sample-header
Given:
$ const { model, options } = input; <if(model)> $ { const {foo} = model; const {bar} = foo || {}; const {xyz} = options || {}; } <div class="app"> <sample-header options={ xyz } /> </div> </if>
Expected:
$ const { model, options } = input; <if(model)> $ { const { foo } = model; const { bar } = foo || {}; const { xyz } = options || {}; } <div class='app'> <sample-header options={ xyz }/> </div> </if>
Actual:
$ const { model, options } = input; <if(model)> $ { const { foo } = model; const { bar } = foo || {}; const { xyz } = options || {}; } <div class='app'> <sample-header options={ xyz: xyz }/> </div> </if>
Using @marko/prettyprint - 3.0.1 with the command
marko-prettyprint . --single-quote --max-len 120
, we are seeing following issues:options
ofsample-header
Given:
Expected:
Actual: