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/script-setup-uses-vars rule #1529

Merged
merged 4 commits into from Jul 2, 2021
Merged

Conversation

ota-meshi
Copy link
Member

@ota-meshi ota-meshi commented Jul 1, 2021

This PR adds vue/script-setup-uses-vars rule

The vue/script-setup-uses-vars rule that will find variables in <script setup> used in <template> and mark them as used.

refs #1248

@ota-meshi ota-meshi marked this pull request as draft July 1, 2021 10:03
@ota-meshi
Copy link
Member Author

We need to wait for the release of vuejs/vue-eslint-parser#110.

@ota-meshi ota-meshi marked this pull request as ready for review July 2, 2021 00:28
@ota-meshi ota-meshi merged commit 9a99fe2 into master Jul 2, 2021
@ota-meshi ota-meshi deleted the script-setup-uses-vars branch July 2, 2021 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant