Hacker News new | ask | show | jobs
by nawitus 3263 days ago
Which linter rule is that?
1 comments

The one that doesn't like modifying function arguments?
Usually 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.