missing_whitespace_between_adjacent_strings

Group: style

Maturity: stable

Linter v0.1.110

Since info is static, may be stale

View all Lint Rules

Using the Linter

Add a trailing whitespace to prevent missing whitespace between adjacent strings.

With long text split across adjacent strings it's easy to forget a whitespace between strings.

BAD:

var s =
  'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed'
  'do eiusmod tempor incididunt ut labore et dolore magna';

GOOD:

var s =
  'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed '
  'do eiusmod tempor incididunt ut labore et dolore magna';