eslint-plugin-orbit-components
Advanced tools
Comparing version 0.0.0-development.5 to 0.0.0-development.6
@@ -33,10 +33,13 @@ "use strict"; | ||
var returnObj = []; | ||
variables.forEach(function (variable) { | ||
if (Object.keys(tokens).includes(variable)) { | ||
returnObj.push("$token"); | ||
} else { | ||
returnObj.push("$variable"); | ||
} | ||
}); | ||
if (Array.isArray(variables)) { | ||
variables.forEach(function (variable) { | ||
if (Object.keys(tokens).includes(variable)) { | ||
returnObj.push("$token"); | ||
} else { | ||
returnObj.push("$variable"); | ||
} | ||
}); | ||
} | ||
if (returnObj.includes("$variable")) { | ||
@@ -43,0 +46,0 @@ return "$variable"; |
{ | ||
"name": "eslint-plugin-orbit-components", | ||
"version": "0.0.0-development.5", | ||
"version": "0.0.0-development.6", | ||
"description": "ESLint for orbit-components", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
232868
659