npm vue-eslint-parser 7.7.0

latest releases: 8.3.0, 8.2.0, 8.1.0...
2 years ago

⚙️ 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 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

Don't miss a new vue-eslint-parser release

NewReleases is sending notifications on new releases.