I am using Sass(scss) as the css pre-processor for my project. But when i run stylelint
for the .css
files compiled by sass, it returns very many errors which you cant fix directly in the .css
files because these files are compiled by sass. Anything you change will be lost after sass recompiles the css files.
I have used various sass linting options like sass-lint
and sass-lint-auto-fix
but these options, though helpful, have not fixed the problems in the .css
files.
stylelint
also keeps flagging the various sass @-rules like @mixin
and @include
as unexpected and unknown at-rules.
Any suggestions or thoughts are welcome. Thanks.