eslint-plugin-node
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -195,2 +195,3 @@ /** | ||
let globalScope = null | ||
const varStack = [] | ||
@@ -403,5 +404,12 @@ /** | ||
function checkVariable(variable, path, infoMap) { | ||
if (varStack.indexOf(variable) !== -1) { | ||
return | ||
} | ||
varStack.push(variable) | ||
for (const reference of variable.references.filter(r => r.isRead())) { | ||
checkProperties(reference.identifier, path, infoMap) | ||
} | ||
varStack.pop() | ||
} | ||
@@ -408,0 +416,0 @@ |
{ | ||
"name": "eslint-plugin-node", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
159660
4581