XhmikosR / find-unused-sass-variables

A simple tool to find unused Sass variables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@import support

MartijnCuppens opened this issue · comments

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 #115