Releases: vuejs/vue-eslint-parser
Releases · vuejs/vue-eslint-parser
v7.9.0
✨ Enhancements
- #118 Changed to parse
v-bind()
in <style>
. This feature can optionally be turned off.
v7.8.0
✨ 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
🐛 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
⚙️ Updates
- #111 Revert: changed to use
sourceType: module
by default when parsing <script setup>
.
v7.7.0
⚙️ 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
🐛 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
⚙️ Updates
- #100 Upgrade esquery and use new option. You can now use queries such as
:first-child
to traverse templates.
v7.4.1
🐛 Bug fixes
- #97 Fixed wrong AST for
v-for="(a, index) in list"
v7.4.0
🐛 Bug fixes
- #96 Fixed parsing errors in multiple v-for aliases in ecmaVersion: 5.
v7.3.0
✨ 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