eslint-config icon indicating copy to clipboard operation
eslint-config copied to clipboard

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

Open GaborTorma opened this issue 1 year ago • 2 comments

Description

Use espree

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

Linked Issues

For #294

GaborTorma avatar Oct 24 '23 05:10 GaborTorma

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 avatar Oct 24 '23 06:10 antfu

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

antfu avatar Oct 24 '23 06:10 antfu