[英]Tslint not working in Emacs using Angular
我試圖建立的Emacs與打字稿和角度,利用tide
和ng2-mode
。 我在使用使問題tslint
在flycheck
。 我的源目錄如下:
app-dir - 這里是 tslint.json 文件
app-dir/src/main.ts - 在這里,tslint 正常工作
app-dir/src/app/app.component.ts - 這里 tslint 根本不起作用,flycheck 沒有看到任何檢查器:/
你能幫我嗎,我該如何調試?
嘗試將其放在您的 init 文件中:
(with-eval-after-load 'tide
(flycheck-add-mode 'typescript-tslint 'ng2-ts-mode)
(flycheck-add-mode 'typescript-tide 'ng2-ts-mode)
)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.