Open CharleeWa opened 1 month ago
只是做一个记录。
当时项目为了让 eslint 支持 ts 后缀,也为了让 eslint 可以工作,加了一行配置:
eslint
ts
// settings.json "eslint.runtime": "node",
但是,保存格式化时会非常地卡顿,影响开发体验。所以暂时去掉。
等后边 eslint 原生支持(RFC阶段 ) ts 后缀后,再换回来。
ps. 进度请查看这个 Eslint#PR
只是做一个记录。
当时项目为了让
eslint
支持ts
后缀,也为了让eslint
可以工作,加了一行配置:但是,保存格式化时会非常地卡顿,影响开发体验。所以暂时去掉。
等后边 eslint 原生支持(RFC阶段 ) ts 后缀后,再换回来。
ps. 进度请查看这个 Eslint#PR