sass / linter

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

Add a lint for unnecessary calls to quote() and unquote() #37

Open nex3 opened 5 years ago

nex3 commented 5 years ago

The quote() function is never necessary when the argument is already a quoted string, and the unquote() function is never necessary immediately within interpolation. I've seen these mistakes appear in the wild, so it would be good to add lints for them.