GitHub / vuejs / vue-eslint-parser
The ESLint custom parser for `.vue` files.
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuejs%2Fvue-eslint-parser
PURL: pkg:github/vuejs/vue-eslint-parser
Stars: 481
Forks: 77
Open issues: 24
License: mit
Language: TypeScript
Size: 2.23 MB
Dependencies parsed at: Pending
Created at: almost 9 years ago
Updated at: 18 days ago
Pushed at: 4 months ago
Last synced at: 4 days ago
Commit Stats
Commits: 385
Authors: 15
Mean commits per author: 25.67
Development Distribution Score: 0.366
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/vuejs/vue-eslint-parser
Topics: eslint, eslint-custom-parser, javascript, single-file-component, static-code-analysis, vue, vuejs
Funding Links https://github.com/sponsors/ota-meshi, https://github.com/sponsors/mysticatea
v7.7.0
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 usesourceType: moduleby default when parsing<script setup>.- Changed to use ES2022 by default when using espree v8+ and parsing
<script setup>. - Added an option to
defineTemplateBodyVisitorto change the trigger to visit the template nodes.
This is used to create special rules that suppress warnings forno-unused-varsrule. e.g.vue/script-setup-uses-varsrule
- Changed two
Download