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 support for <script setup> #110

Merged
merged 6 commits into from
Jul 2, 2021
Merged

Add support for <script setup> #110

merged 6 commits into from
Jul 2, 2021

Conversation

ota-meshi
Copy link
Member

@ota-meshi ota-meshi commented Jun 30, 2021

  • Upgrade the dependency espree to v8. (However, by default it uses the eslint dependency espree.)
  • Change to support ecmaVersion: "latest" when using espree v8+.
  • Change to use sourceType: module by default when parsing <script setup>.
  • Change to use ES2022 by default when using espree v8+ and parsing <script setup>.
  • Add an option to defineTemplateBodyVisitor to change the trigger to visit the template nodes.
  • Add <script setup> testcases.

Related to #78

@ota-meshi ota-meshi changed the title Supports script setup Add support for <script setup> Jul 1, 2021
@ota-meshi ota-meshi merged commit 66d424e into master Jul 2, 2021
@ota-meshi ota-meshi deleted the script-setup branch July 2, 2021 00:09
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