This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
no-invalid-template-strings should ignore backslash-prefixed template expressions #2738
Labels
Milestone
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
>> ERROR: src/main/ts/padss-main/tabs.ts[423, 90]: Interpolation will only work for template strings.
Expected behavior
The rule should ignore the template replacement expression because the developer has already acknowledged that they realize this is not a template string by adding the preceding
\
.Even if it were a template string, adding the preceding
\
causes the template expression to be ignored in the template string anyways.The text was updated successfully, but these errors were encountered: