doesn't preserve comments
ezpuzz opened this issue · comments
Emory Petermann commented
this removes comments because js-yaml 2.x doesn't create AST.
js-yaml does have a 1.x branch that creates AST but doesn't have dump function implemented
I wanted to use this plugin in conjunction with lint-staged for the record (to keep yaml files sorted similarly in repo) and this is deal-breaker.
Yevhen Hlotov commented
Very useful tool. Would be nice to preserve comments.