Closed
Description
Hi!
Since we've added the project: './tsconfig.json'
option to parserOptions
(to allow @typescript-eslint/prefer-nullish-coalescing rule for instance) the parsing is really really slow. On our project it went from 30s to 11min.
If we exclude .vue
files or remove the project
option then it's fast again.
Anyone else went into this issue?
Indeed I ran into typescript-eslint/typescript-eslint#389 but the performance on our project when excluding .vue
files is ok, so it's really the parsing of <script> SFCs imho.
Our eslint parsing options:
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
parser: '@typescript-eslint/parser',
project: './tsconfig.json',
extraFileExtensions: ['.vue'],
}
Metadata
Metadata
Assignees
Labels
No labels