sass / linter

An experimental Sass linter written using the Dart Sass AST
MIT License
39 stars 6 forks source link

Use falsey null #20

Closed srawlins closed 6 years ago

srawlins commented 6 years ago

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 checking foo and false is so obviously odd that I'll let the programmer do what they want with that.