Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use espree <template> with vue-eslint-parser #296

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

GaborTorma
Copy link

Description

Use espree with vue-eslint-parser.

First of all, need to merge the #1 in antfu/eslint-define-config

Linked Issues

For #294

@antfu
Copy link
Owner

antfu commented Oct 24, 2023

This is a bit tricky, added a failing test e101408. The main issue is that Vue now does support having TS syntax inside template. Setting it to espree would make such usage invalid

@antfu
Copy link
Owner

antfu commented Oct 24, 2023

I wonder if we could disable type-aware rules in Vue template instead.

@antfu antfu marked this pull request as draft December 11, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants