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.
If we want to spot some more bugs at compile time, I believe that something like:
if(data.id=id){ ...
while being perfectly legal, it can be a coding bug most of the times.
it would be nice if TsLint could spot this type of code and give us a warning instead of using a custom regex that scan all our files.
The text was updated successfully, but these errors were encountered:
ESLint has an option for the rule where they allow assignments that are wrapped in parenthesis. Do we want the same option or should we ust flag all assignments in a conditional no matter what?
If we want to spot some more bugs at compile time, I believe that something like:
while being perfectly legal, it can be a coding bug most of the times.
it would be nice if TsLint could spot this type of code and give us a warning instead of using a custom regex that scan all our files.
The text was updated successfully, but these errors were encountered: