GitShow/vuejs/vue-eslint-parser
vuejs

vue-eslint-parser

The ESLint custom parser for `.vue` files.

by vuejs
eslinteslint-custom-parserjavascriptsingle-file-componentstatic-code-analysisvuevuejs
Star on GitHubForknpm

TypeScript

487 stars83 forks22 contributorsActive · 5d agoSince 2016v10.4.1MIT

Meet the team

See all 22 on GitHub →
mysticatea
mysticatea257 contributions
ota-meshi
ota-meshi145 contributions
9romise
9romise8 contributions
woongsikchoi
woongsikchoi2 contributions
fisker
fisker2 contributions
kazupon
kazupon2 contributions
waynzh
waynzh2 contributions
rashfael
rashfael1 contribution

Languages

View on GitHub →
TypeScript95.1%
JavaScript4.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · Last activity 5d ago
See all on GitHub →
Kenneth-Sills
`<script setup>` imports are not hoisted in the presence of a `<script>`OpenIssue

Before You File a Bug Report Please Confirm You Have Done The Following... [x] I'm using eslint-plugin-vue. [x] I'm sure the problem is a parser problem. (If you are not sure, search for the issue in eslint-plugin-vue repo and open the issue in eslint-plugin-vue repo if there is no solution. [x] I have tried restarting my IDE and the issue persists. [x] I have updated to the latest version of the packages. What version of ESLint are you using? 8.57 What version of and are you using? vue-eslint-parser@10.1.1 eslint-plugin-vue@10.0.0 What did you do? Configuration What did you expect to happen? The parser should generate an AST similarly to how Vue itself transpiles the code, with the import statements of `ImportDeclarationImportDeclarationExpressionStatementExpressionStatementImportDeclarationExpressionStatementImportDeclarationExpressionStatementimport-x/firstgetScriptSetupCodeBlocksimportCodeBlocksscriptElementgetScriptSetupModuleCodeBlocksCodeBlocksImportDeclarationCodeBlocks`.

Kenneth-Sills · 1w ago
eiggiotti
AST is exported as a type onlyOpenIssue

Hi, I'm trying to upgrade to from , and I've noticed a change in the API that is breaking things for us. I'm importing and using like this: But in , is exported as a type, not a value, so I get a typing error. I didn't see anything related to this in the changelog, so I'm wondering if it's intentional or not. If it is, what's the proper way to import ? Thank you

eiggiotti · 3w ago
DMartens
fix: adopt child scopes of removed script setup block scopeOpenPR

Currently the child scopes of the created block scope for `moduleScope.childScopesdefine-model06-with-ts`) fail without changing the code, so I did not additional fixtures. No additional fixture tests fail when applying the fix, so this behavior looks like an oversight. I will add test cases if the new behavior is accepted. Fixes #228.

DMartens · 3w ago

Recent fixes

View closed PRs →
ota-meshi
Drop support old eslint and nodeMergedPR
ota-meshi · 2w ago
Structured data for AI agents

Repository: vuejs/vue-eslint-parser. Description: The ESLint custom parser for `.vue` files. Stars: 487, Forks: 83. Primary language: TypeScript. Languages: TypeScript (95.1%), JavaScript (4.9%). License: MIT. Topics: eslint, eslint-custom-parser, javascript, single-file-component, static-code-analysis, vue, vuejs. Latest release: v10.4.1 (2mo ago). Open PRs: 11, open issues: 25. Last activity: 5d ago. Community health: 37%. Top contributors: mysticatea, ota-meshi, 9romise, woongsikchoi, fisker, kazupon, waynzh, rashfael, TatsuyaYamamoto, sawa-zen and others.

·@ofershap

Replace github.com with gitshow.dev