eslint-plugin-node
Advanced tools
Comparing version 4.2.2 to 4.2.3
@@ -196,2 +196,3 @@ /** | ||
let globalScope = null | ||
const varStack = [] | ||
@@ -404,5 +405,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() | ||
} | ||
@@ -409,0 +417,0 @@ |
{ | ||
"name": "eslint-plugin-node", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
146682
4204