⚙️ Updates
- #108, #110 Added support for
<script setup>
- Changed two
<script>
tags to be parseable when using<script setup>
. Upgraded the dependency espree to v8.
(However, by default it uses the eslint dependency espree.)
This allows to parse Top Level Await by configuring parserOptions.
Note that espree v8 is not compatible with some rules of ESLint v7.Changed to usesourceType: module
by default when parsing<script setup>
.- Changed to use ES2022 by default when using espree v8+ and parsing
<script setup>
. - Added an option to
defineTemplateBodyVisitor
to change the trigger to visit the template nodes.
This is used to create special rules that suppress warnings forno-unused-vars
rule. e.g.vue/script-setup-uses-vars
rule
- Changed two