Rule: prefer-template

Prefer a template expression over string literal concatenation.

Config

If allow-single-concat is specified, then a single concatenation (x + y) is allowed, but not more (x + y + z).

Examples
"prefer-template": true
"prefer-template": [true, "allow-single-concat"]
Schema
{
  "type": "string",
  "enum": [
    "allow-single-concat"
  ]
}