We have found a small issue using the above rule.
For example, if we write something like this:
var testArguments = function(id){
console.log(id); //Something
arguments[0] = "Test";
console.log(id); // Test
}
testArguments("Something");
I'd expect the rule to capture the problem, and not allow me to reassign
arguments inside of the function.
Is there another rule to capture this problem?
Our rule is:
no-param-reassign": [ 2 ]
Our es-lint version is v1.10.3.
Thanks,
Jose
--
You received this message because you are subscribed to the Google Groups
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.