Not using the local TSLint version found for XXX

118 阅读1分钟

今天我打开Visual Studio Code准备进行Angular开发时,看到Angular TSLint报了这个警告信息:

Not using the local TSLint version found for ‘c:/Code/SPA/spartacus/feature-libs/organization/administration/components/unit/services/unit-list.service.spec.ts’
To enable code execution from the current workspace you must enable workspace library execution.

exerror.com/not-using-t…

解决方案

打开Ctrl + Shift + P,输入Manage workspace library execution

选择之后,回车,TSLint即重新刷新。

更多Jerry的原创文章,尽在:“汪子熙”: