-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
AirBnb ESLint config, no-param-reassign
warning in vuex
mutation
#3954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
btw, here's workaround I used: "no-param-reassign": [
"error",
{
"props": true,
"ignorePropertyModificationsFor": [
"state"
]
}
] |
Also seeing this problem. Thanks for the fix @MaximBazarov. |
LinusBorg
added a commit
that referenced
this issue
May 16, 2019
…pt mutation of vuex „state“ argument. close #3954
LinusBorg
added a commit
that referenced
this issue
May 16, 2019
haoqunjiang
pushed a commit
that referenced
this issue
Jun 13, 2019
This was referenced Mar 19, 2020
Assignment to property of function parameter 'state'. (no-param-reassign
byteshiva/meetups-inspire#2
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.7.0
Reproduction link
https://github.com/MaximBazarov/vuex-eslint-mutation-warning
Environment info
Steps to reproduce
Vuex store mutation:
What is expected?
no ESLint warnings
What is actually happening?
ESLint
no-param-reassign
warningit was fixed in
https://github.com/vuejs-templates/webpack/pull/1003/files#diff-8e97c989db32864ed48507016adcb32d
but seems that it wasn't applied.
The text was updated successfully, but these errors were encountered: