eslint-plugin
eslint-plugin copied to clipboard
New Rule: Disallow t inside t
Similar to the no-trans-inside-trans rule, I've noticed that there are failures to extract strings when a t is used inside a t. For example, this should be an error:
t`some text ${t`some other text`}`
Thanks for this great library!