Let me know if there should be more checks. I chose not to lint on things like @if (7 < null) because this seems like a very different issue, and this doesn't lint on things like @if (foo and null) or @if (null or foo) because... that's so weird that maybe its intentional? Like checking foo and false is so obviously odd that I'll let the programmer do what they want with that.
Fixes #16
Let me know if there should be more checks. I chose not to lint on things like
@if (7 < null)
because this seems like a very different issue, and this doesn't lint on things like@if (foo and null)
or@if (null or foo)
because... that's so weird that maybe its intentional? Like checkingfoo and false
is so obviously odd that I'll let the programmer do what they want with that.