This keeps being requested and we're not using it at Facebook, so I don't particularly care which way it should be printed. We now force multiline if there's at least one declaration with a value. We don't want to break all the variables that are just declared. Fixes #1607
11 lines
284 B
JavaScript
11 lines
284 B
JavaScript
var assert = require('assert'),
|
|
lookup = require('../lookup');
|
|
|
|
const eloBar = require("elo-bar")
|
|
, foo = require("foo")
|
|
, otherThing = require("other-thing");
|
|
|
|
var a, b, c;
|
|
|
|
let superSuperSuperLong1, superSuperSuperLong2, superSuperSuperLong3, superSuperSuperLong4;
|