warning
prefer-templateEncourage using template literals instead of '+' operator on strings
Examples
❌ Incorrect
const greeting = 'Hello, ' + this.name;
✅ Correct
const greeting = `Hello, ${this.name}`;
Encourage using template literals instead of '+' operator on strings
❌ Incorrect
const greeting = 'Hello, ' + this.name;
✅ Correct
const greeting = `Hello, ${this.name}`;