Skip to content

Releases: vuejs/vue-eslint-parser

v7.7.2

02 Jul 10:35
Compare
Choose a tag to compare

πŸ› Bug Fixes

  • #113 Downgrade packages that are incompatible with Node v8.
    • Downgrade espree
    • Downgrade semver
    • Change the parser so that if the user explicitly installs espree v8 and specifies espree for parserOptions.parser, it will be use.

v7.7.1

02 Jul 02:44
Compare
Choose a tag to compare

βš™οΈ Updates

  • #111 Revert: changed to use sourceType: module by default when parsing <script setup>.

v7.7.0

02 Jul 00:24
Compare
Choose a tag to compare

βš™οΈ 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

v7.6.0

02 Mar 10:07
Compare
Choose a tag to compare

πŸ› Bug fixes

  • #103 Changes the parser to be case sensitive for the name used to determine the element when the file is SFC.

v7.5.0

14 Feb 00:39
Compare
Choose a tag to compare

βš™οΈ Updates

  • #100 Upgrade esquery and use new option. You can now use queries such as :first-child to traverse templates.

v7.4.1

21 Jan 12:24
Compare
Choose a tag to compare

πŸ› Bug fixes

  • #97 Fixed wrong AST for v-for="(a, index) in list"

v7.4.0

21 Jan 11:08
Compare
Choose a tag to compare

πŸ› Bug fixes

  • #96 Fixed parsing errors in multiple v-for aliases in ecmaVersion: 5.

v7.3.0

14 Dec 13:12
Compare
Choose a tag to compare

✨ Enhancements

  • #91 Added defineCustomBlocksVisitor() to parserServices.

βš™οΈ Updates

  • #90 Changed the parsing of custom block to parse like Vue3 parser.

βš™οΈ Chores

  • #92 Upgrade @typescript-eslint and prettier

v7.2.0

03 Dec 03:05
Compare
Choose a tag to compare

✨ Enhancements

  • Added parserOptions.vueFeatures option.
    • #88 Added parserOptions.vueFeatures.interpolationAsNonHTML option.
    • #89 Added parserOptions.vueFeatures.filter option.

πŸ› Bug fixes

  • #85 Fixed type of VDirectiveKey.
  • #87 Fixed the wrong location when using with @typescript-eslint

v7.1.1

12 Oct 10:37
Compare
Choose a tag to compare

πŸ› Bug Fixes

  • #74 fixed wrong location calculation when including CRLF.