sass / linter

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

New rule: non_numeric_dimension_rule #26

Closed srawlins closed 5 years ago

srawlins commented 5 years ago

Fixes #13

I took the list of units from scss-lint. Is there a better way to do that?

Should this be more restrictive, e.g. take the type of Expression into account? Or avoid reporting when StringExpression is being used as a property value, etc.?