-
-
Notifications
You must be signed in to change notification settings - Fork 697
New: Add vue/no-deprecated-data-object-declaration rule
#1083
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
New: Add vue/no-deprecated-data-object-declaration rule
#1083
Conversation
|
Thank you for this PR. However, I think it is the same as the no-shared-component-data rule. |
|
The root instance is also disallowed object declaration on Vue 3.0. |
|
Thank you for information. You're right. |
ota-meshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR!
I have some requests.
b173573 to
37bc2ce
Compare
|
I finished the change. |
ota-meshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This PR adds the vue/no-deprecated-data-object-declaration rule.
This rule reports use of deprecated object declaration on
dataproperty.RFC0019
ref #1035