Closed tmcw closed 8 years ago
for (var i = 0; i < 10; i++); console.log(i);
This statement through node returns
~/src/decode-webp〉node formatter-bug-two.js 10
Run through semistandard-format it produces the following output:
~/src/decode-webp〉semistandard-format formatter-bug-two.js for (var i = 0; i < 10; i++) console.log(i);
Which produces the following output:
~/src/decode-webp〉node formatter-bug-two-standard.js 0 1 2 3 4 5 6 7 8 9
Closing; no action
This statement through node returns
Run through semistandard-format it produces the following output:
Which produces the following output: