Inspectopedia
 
2024.3

Redundant nesting in template literal

Info
Code Style
New
Last modified: 03 December 2024

Reports nested instances of a string or a template literal. Suggests inlining the nested instances into the containing template string.

Example:

After applying the quick-fix the code looks as follows: