-
-
Couldn't load subscription status.
- Fork 33
Closed
Labels
AcceptedThis issue or PR has been accepted.This issue or PR has been accepted.Status: ReleasedIt's now live.It's now live.Type: FeatureNew features or options.New features or options.
Description
Suggestion
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)?
Metadata
Metadata
Assignees
Labels
AcceptedThis issue or PR has been accepted.This issue or PR has been accepted.Status: ReleasedIt's now live.It's now live.Type: FeatureNew features or options.New features or options.