Repository navigation
Replies: 3 comments
|
What error are you currently getting? Is it for the "no-let" or "immutable-data" rule? |
0 replies
|
I get And a |
0 replies
|
I'd recommended setting the option "ignoreAccessorPattern" for "immutable-data". If you aren't reassigning the variable then you should use |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is there a rule that lets me mutate a local object? Something like:
I feel that maybe there should be an allowLocalMutation rule that allows the code above, for those who want to be less strict about total immutability and only want the input parameters to be immutable?
All reactions