Enforce Mutable Return Types #674
Labels
Status: Awaiting Feedback
Issue or PR awaits feedback from the community.
Type: Idea
Marks an idea, which might be accepted and implemented.
This is a follow up to @RebeccaStevens' #153 which described the issue very well:
That issue was mostly solved (and marked as solved) by #480, but as far as I can tell, there isn't yet a way to enforce mutable return types with the new
prefer-immutable-types
rule.Maybe a solution could add a
"Mutable"
option to the available settings forreturnTypes.enforcement
?Am I missing another way in which this feature was added? Thanks!
The text was updated successfully, but these errors were encountered: