Do you know any tool for merging a js file into an other but keep the formatting?
ex., merge
x({a: 5, b: 6});
into
x({
a: 1,
b: 2,
});
and the resoult would be
x({
a: 5,
b: 6,
});
instead of merging conflict
I think a tool which can merge to js ast (the syntax tree that esprima and FF Parser API produces) in the way of refreshing just the values and leave the formatting informations of the existing blocks as it was wouldn't be so complicated but i didn't find one. Do i miss something?