find-unused-sass-variables
find-unused-sass-variables copied to clipboard
@import support
Hi guys,
I just did some tests with this tool, but ran into an issue when variables are used outside the folder that is scanned.
For example:
$variable: value;
@import "../path-outside-scanned-folder/variable-is-used-here.scss";
This will erroneously fail.
I tried to solve this, but then I realised #4 needed to be fixed first because a way to scan a file is needed.
Hey, @MartijnCuppens.
Yeah, the tool's logic is pretty dumb as you may have seen. But any help is welcome :)
Haha, that's honest. I'm not really experienced with these things, but I'll have a look if I can extend or improve something.
@XhmikosR @MartijnCuppens can be solve this issue by this PR https://github.com/XhmikosR/find-unused-sass-variables/pull/115