vuejs / eslint-config-typescript

eslint-config-typescript for vue projects
MIT License
115 stars 27 forks source link

[14.0.0-rc0] very slow compared to v13 #82

Open chrisnruud opened 2 days ago

chrisnruud commented 2 days ago

Hello. We are in the early proess of migrating our common eslint libraries to eslint 9 and when using the rc - version of v14 to consolidate our config, it works like expected, but the execution is several magnitudes slower than the same configuration on v13 / eslint 8 - unless we are doing something wrong in our implementation (just a bare - bones configuration setup is significantly slower) - then we hope that we can be able to either debug or that this is fixed in the release :)

https://github.com/dsb-norge/eslint-config-dsb-vue3-ts/tree/eslint9 for reference

haoqunjiang commented 8 hours ago

Would you happen to have an example project for me to benchmark?

One possible problem is that I missed a performance tweak that could improve the parsing speed of SFCs with no <script> blocks. It's fixed in 14.0.0-rc.1. Could you check it out and see if the fix works?