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
There are very useful rule strict-boolean-expressions in typescript-eslint.
If there are no possible ways to use it in vue templates, maybe we can implement a vue analog for this rule?
What category should the rule belong to?
[x] Enforces code style (layout)
[ ] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
Just for example for string expression:
// Will be incorrect ❌
<divv-if="someEmptyString"
/>
// Will be correct ✅
<div
v-if="someEmptyString !== ''"
/>