You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I think the idea of this rule is to treat everything immutable (by using const everywhere and avoiding typing everything as Readonly) and use let when explicitly want to mutate a variable/object. But it does not complain if mutating a function argument. Could it treat function arguments as if declared with const (and if you wish to mutate, use a naming pattern or something else)?