Releases: vuejs/vue-eslint-parser
Releases Β· vuejs/vue-eslint-parser
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
v7.2.0
β¨ 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
π Bug Fixes
- #74 fixed wrong location calculation when including CRLF.