Skip to content
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

Add vue/no-undef-properties rule #1472

Merged
merged 3 commits into from Oct 5, 2021
Merged

Add vue/no-undef-properties rule #1472

merged 3 commits into from Oct 5, 2021

Conversation

ota-meshi
Copy link
Member

@ota-meshi ota-meshi commented Apr 8, 2021

This PR adds vue/no-undef-properties rule.

vue/no-undef-properties rule warns of using undefined properties.

close #875


This rule is a slightly modified version of the rule used by the company I belong to.
I don't know if this rule can be used in general because it gives a lot of false positives when using mixins etc.
If you want to try this rule, could you copy the source code from this PR and try it.
I would appreciate it if you could give us your opinion on the results you have tried.

I think support for <script setup> will help many users.

@ota-meshi ota-meshi merged commit 852096e into master Oct 5, 2021
@ota-meshi ota-meshi deleted the no-undef branch October 5, 2021 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule Proposal: vue/no-undef-property
1 participant