Vue Eslint Parser Versions Save

The ESLint custom parser for `.vue` files.

v7.11.0

2 years ago

⚙️ Updates

  • #124 Changed to determine parser by extension when parsing non-vue files using multiple parserOptions.parser.

🐛 Bug fixes

  • #126 Fixed bug when script tags are missing and multiple parserOptions.parser is used.

v7.10.0

2 years ago

✨ Enhancements

  • #119 Added defineDocumentVisitor to parserServices.

🐛 Bug fixes

  • #120 Fixed incorrect AST for commented CSS vars injection.

v7.9.0

2 years ago

✨ Enhancements

  • #118 Changed to parse v-bind() in <style>. This feature can optionally be turned off.

v7.8.0

2 years ago

✨ Enhancements

  • #116 Change parserOptions.parser to accept multiple lang parsers.

🐛 Bug fixes

  • #115 Fixed parsing error when combining <script> and export in <script setup>.

v7.7.2

2 years ago

:bug: 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

2 years ago

⚙️ Updates

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

v7.7.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

v7.6.0

3 years ago

:bug: 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

3 years ago

⚙️ Updates

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

v7.4.1

3 years ago

:bug: Bug fixes

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