3 ms·
Which linter rule is that?
by nawitus 9y ago
Which linter rule is that?
- mirekrusin 9y agoThe one that doesn't like modifying function arguments?
- nawitus 9y agoUsually that only disallows reassignment of function arguments. For example, eslint's no-param-reassign rule by default allows modifying the properties of the function argument. However, the "props" parameter for this rule can disallow even the modification of properties of a function's argument.