Breaking Changes:
The global.vueSnapshots.formatting.tagsWithWhitespacePreserved
feature previously supported
undefined
would default to['a', 'pre']
false
would be the same as[]
- Any array of strings
true
would apply to all tags
However, the true
option ran into complex technical issues with the implementation, and likely isn't really possible (without 3rd party libraries that don't exist currently). So it is removed. Since false
is equivalent to an empty array, it was removed too, to simplify this rule.
Now global.vueSnapshots.formatting.tagsWithWhitespacePreserved
only accepts undefined
and an array of string tag names (or an empty array).
Maintenance:
- Added JSDocs linting
- Added JSDoc comments throughout the codebase
- Updated all dependencies
- Test coverage remains at 100%
Diff: