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
What actually happened?
Received the error for Child.vue: "4:21 error Unexpected mutation of "value" prop vue/no-mutating-props".
Child does not mutate the prop, it mutates a property inside the passed prop. Vue does not give any error at runtime about mutating a prop. The test cases for this rule seem to indicate that this should be valid... but the rule is complaining.
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
No ESLint errors.
What actually happened?
Received the error for Child.vue: "4:21 error Unexpected mutation of "value" prop vue/no-mutating-props".
Child does not mutate the prop, it mutates a property inside the passed prop. Vue does not give any error at runtime about mutating a prop. The test cases for this rule seem to indicate that this should be valid... but the rule is complaining.
Repository to reproduce this issue
(https://github.com/asselin/eslint-vue-bug)
The text was updated successfully, but these errors were encountered: