diff --git a/lib/parse-variable.js b/lib/parse-variable.js index ef2d614..72839f1 100644 --- a/lib/parse-variable.js +++ b/lib/parse-variable.js @@ -27,7 +27,12 @@ const findVars = (node, result, ignoreList) => { return; } - if (node instanceof Declaration && node.prop.startsWith('$') && !ignoreList.includes(node.prop) && fusvEnabled) { + if ( + node instanceof Declaration && + (node.prop.startsWith("$") || node.prop.startsWith("--")) && + !ignoreList.includes(node.prop) && + fusvEnabled + ) { result.push(new UnusedInfo(node)); return; }