You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 use sourceType: 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 for no-unused-vars rule. e.g. vue/script-setup-uses-vars rule