-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
Status: TriageThis issue needs to be triaged.This issue needs to be triaged.Type: IdeaMarks an idea, which might be accepted and implemented.Marks an idea, which might be accepted and implemented.
Description
Is there a rule that lets me mutate a local object? Something like:
function test()
{
const myVar = { hello: "" };
myVar.hello = "world";
}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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: TriageThis issue needs to be triaged.This issue needs to be triaged.Type: IdeaMarks an idea, which might be accepted and implemented.Marks an idea, which might be accepted and implemented.