menu
no-template-curly-in-string
Disallow template interpolation in regular strings
${...} inside a regular string produces literal text because regular strings do not interpolate placeholders.
Instead, you SHOULD use a template literal when interpolation is intended.
Reported
1function greet(name: string): string {2 return "hello, ${name}";3}Accepted
1function greet(name: string): string {2 return `hello, ${name}`;3}