https://typescript-eslint.io/rules/no-unnecessary-template-expression/
This rule was called no-useless-template-literals in the past.
In terraform land it's the Interpolation-only expressions are deprecated warning.
Basically:
const MYSTR = "Hello";
const myComplicatedObject = {
value: `${MYSTR}` // warning "no-useless-template-literals" -> change to value: MYSTR
}
Originally posted by @awoimbee in #6987
Want to contribute? Let us know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.
https://typescript-eslint.io/rules/no-unnecessary-template-expression/
This rule was called
no-useless-template-literalsin the past.In terraform land it's the
Interpolation-only expressions are deprecatedwarning.Basically:
Originally posted by @awoimbee in #6987
Want to contribute? Let us know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.