disallowMultipleLineStrings

Disallows strings that span multiple lines without using concatenation.

Type: Boolean

Value: true

JSHint: multistr

Example

"disallowMultipleLineStrings": true
Valid
var x = "multi" +
        "line";
var y = "single line";
Invalid
var x = "multi \
        line";
Rule source
Test source