Features:
- Added a new Diffable formatting setting to break up long lines of inline styles on to multiple lines, since component logic can live in these spaces.
Expect snapshot changes similar to this:
- style="top: 0px; height: 0px; color: #F00; line-height: 2"
+ style="
+ top: 0px;
+ height: 0px;
+ color: #F00;
+ line-height: 2;
+ "
You can now change this setting as well, global.vueSnapshots.formatter.inlineStylesPerLine = 0;
. It defaults to 1
just like attributesPerLine
and classesPerLine
.
Diff: