-
-
Notifications
You must be signed in to change notification settings - Fork 793
feat(lint): implement noVueReservedKeys rule
#7057
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
Conversation
🦋 Changeset detectedLatest commit: e24558e The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
87a4e7b to
e24558e
Compare
CodSpeed Performance ReportMerging #7057 will not alter performanceComparing Summary
|
dyc3
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.
No major complaints, nothing worth blocking over. Nice work!
Summary
Added the rule
noVueReservedKeys, which prevents the use of reserved Vue keys.It prevents the use of Vue reserved keys such as those starting with
$(like$el,$data,$props) and keys starting with_in data properties, which can cause conflicts and unexpected behavior in Vue components.Invalid example
Valid examples
Closes #6308
Test Plan
Tests are included.
Docs
Docs are included.