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 was archived by the owner on Mar 25, 2021. It is now read-only.
In order to properly address #321, it seems like we need a BlockScopeAwareRuleWalker<T> and a new rule to lint duplicate let declarations in the same block scope. I don't see a clean way to integrate this into NoDuplicateVariableWalker while still supporting valid syntax like:
leta=1;if(true){leta=2;}
... so I propose a new NoDuplicateLetWalker. Thoughts @gscshoyru, @ashwinr?
UPDATE: implemented here #374
UPDATE 2: see #375 instead; this has been integrated into the no-duplicate-variable rule
microsoft/TypeScript#904
The text was updated successfully, but these errors were encountered: