The ESLint custom parser for `.vue` files.
MIT License
<script setup>
<script>
tags to be parseable when using <script setup>
.sourceType: module
by default when parsing <script setup>
.<script setup>
.defineTemplateBodyVisitor
to change the trigger to visit the template nodes.no-unused-vars
rule. e.g. vue/script-setup-uses-vars
rule
parserOptions.vueFeatures
option.
parserOptions.vueFeatures.interpolationAsNonHTML
option.parserOptions.vueFeatures.filter
option.@typescript-eslint
espree
of loaded ESLint.parserOptions
got more strict (by espree's update).parserServices.getDocumentFragment()
. You can get the root node of *.vue
file's AST.