Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-param-reassign

- Disallow reassigning function parameters

This rule aims to prevent unintended behavior caused by modification or reassignment of function parameters.

What ESLint should do when it catches the rule break

Show a warning

Options

props

Warns against the modification of parameter properties.

Rule examples

You can check them out here.