Disallow multiline strings
var x = "Line 1 \ Line 2";
This rule is aimed at preventing the use of multiline strings.
Examples of incorrect code for this rule:
/*eslint no-multi-str: "error"*/ var x = "some very \ long text";
Examples of correct code for this rule:
/*eslint no-multi-str: "error"*/ var x = "some very long text"; var x = "some very " + "long text";
This rule was introduced in ESLint v0.0.9.