mike7515 / code-beautifier

MIT License
19 stars 5 forks source link

Formatting of addition operator in less can break rules #4

Closed jamietre closed 7 years ago

jamietre commented 7 years ago

This code in less:

@floorStackHeightOffSet: 2*@headerHeight + @modalHeaderHeight + @rowheight;

was reformatted to

  @floorStackHeightOffSet: 2*@headerHeight +@modalHeaderHeight +@rowheight;

There needs to be a space between the operands and the operator, or it apparently interprets the + as "positive" and not an operator.

mike7515 commented 7 years ago

Fixed in the last release 1.7.2