sass / linter

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

New rule, ValidHex, with tests #2

Closed srawlins closed 6 years ago

nex3 commented 6 years ago

This lint would trigger on the use of ID tokens in property values, which is possible for nav-up and related properties (which is why Sass allows these productions at all). Maybe it would make more sense to have this be a CSS lint so that it can be aware of the property name and avoid warning for properties that allow these tokens?

srawlins commented 6 years ago

Good call. Undo!