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

Eslint 格式化卡顿 #112

Open
CharleeWa opened this issue Aug 5, 2024 · 0 comments
Open

Eslint 格式化卡顿 #112

CharleeWa opened this issue Aug 5, 2024 · 0 comments

Comments

@CharleeWa
Copy link
Collaborator

只是做一个记录。

当时项目为了让 eslint 支持 ts 后缀,也为了让 eslint 可以工作,加了一行配置:

// settings.json
"eslint.runtime": "node",

但是,保存格式化时会非常地卡顿,影响开发体验。所以暂时去掉。

等后边 eslint 原生支持(RFC阶段 ) ts 后缀后,再换回来。

ps. 进度请查看这个 Eslint#PR

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

No branches or pull requests

1 participant