ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / no-param-reassign
This rule wraps “no-param-reassign” core rule, but allows to edit params at the top of function body.
module.exports = {
plugins: ["misc"],
rules: {
"misc/no-param-reassign": "error"
}
};
function f(x, y) {
x;
y++;
}
function f(x, y) {
x++;
y;
}