Open gopherkhan opened 5 years ago
This could theoretically be meaningful CSS, since some JavaScript framework could parse the variable names out from the custom properties at runtime, but I think it's worth adding this lint anyway since I'm pretty sure no real JavaScript libraries do so.
Add a lint rule for CSS variables defined using un-interpolated Sass variables. Recent versions of Sass require that you to use interpolation when including Sass variables to maintain maximal CSS compatibility.
See this blog post for more details: http://sass.logdown.com/posts/809572