disallowPaddingNewLinesInObjects

Disallows newlines adjacent to curly braces in all object literals.

Type: Boolean

Value: true

Example

"disallowPaddingNewLinesInObjects": true
Valid
var x = { a: 1 };
var y = { a: 1,
          b: 2 };
var z = { a: 2,
          b: 2,

          c: 3,



          d: 4 };
foo({a: {b: 1}});
Invalid
var x = {
    a: 1
};
foo({
    a: {
        b: 1
    }
});
Rule source
Test source