no_adjacent_strings_in_list

Group: errors

Maturity: stable

Linter v0.1.30

Since info is static, may be stale

View all Lint Rules

Using the Linter

DON'T use adjacent strings in list.

This can be sign of forgotten comma.

GOOD:

List<String> list = <String>[
  'a' +
  'b',
  'c',
];

BAD:

List<String> list = <String>[
  'a'
  'b',
  'c',
];