Huge performance increase with '<template>': 'espree'
#127
Labels
documentation
Improvements or additions to documentation
'<template>': 'espree'
#127
I was struggling to upgrade ESLint to v9 for a large project, because of massive performance difference with type aware linting.
I've tested the performance only on a sub directory of the project containing only
ts
andvue lang="ts"
files with the following results:The biggest performance difference is setting
'<template>': 'espree'
which made my linting more than 2.5x faster. I'm not sure if these changes break anything, especially as I don't have anyvue
files withjs
.That's my simplified config with the adjustments:
Perhaps someone can test these changes in their project if there are any problems or other adjustments needed.
Draft PR (#126) with changes in
@vue/eslint-config-typescript
The text was updated successfully, but these errors were encountered: