Skip to content

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.

2 participants