file-read
Ast Rule: for loop
file-read
function visit(node, filename, code) {
if (!node.arguments || !node.context || !node.arguments.values || !node.functionName) {
return;
}
var error = buildError(node.start.line,
node.start.col,
node.end.line,
node.end.col,
code,
"CRITICAL",
"SECURITY");
//const edit = buildEditRemove(previousArgument.end.line, previousArgument.end.col,
// arg.end.line, arg.end.col)
const fix = buildFix(code, []);
addError(error);
}