Disallow implicit coercion
yedhink opened this issue · comments
I believe this would make the code more readable. In the allow
list we can add coercion operators that we need to keep, if any. I would go with disallowing all of them as mentioned in below rule.
@Amaljith-K Can you please share your thoughts regarding this rule?
We should be allowing !!foo
. It is very frequently used in neeto world & is more convenient than Boolean(foo)
.
We can disable the rest of all kinds of conversions.
We should be allowing !!foo. It is very frequently used in neeto world & is more convenient than Boolean(foo).
We can disable the rest of all kinds of conversions.
Done exactly that. 👍