You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
No error is detected, so
bar
gets set to"bar-[object Object]"
instead of the intended"bar-balls"
.Expected behavior
Given that the equivalent
const bar = 'bar-' + foo;
would have been flagged by this rule, it seems logical that the example should be too.If not by default, it would be nice to have this use case covered either by an optional parameter or by a separate rule.
The text was updated successfully, but these errors were encountered: