mirror of https://github.com/Wilfred/difftastic/
Ignore trailing commas where they're not semantically meaningful
parent
8bfb55bc41
commit
a90254ede7
@ -0,0 +1,4 @@
|
||||
function foo(x, y) {
|
||||
var z = [1, 2];
|
||||
var zz = {a: 1, b: 2};
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
function foo(
|
||||
x,
|
||||
y,
|
||||
) {
|
||||
var z = [
|
||||
1,
|
||||
2,
|
||||
];
|
||||
var zz = {
|
||||
a: 1,
|
||||
b: 2,
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue