VS Code 裝好ESLint 插件報黃線的問題
ESLint is disabled since its execution has not been approved or denied yet. Use the light bulb menu to open the approval dialog.eslint

查了翻譯,說是什么被禁用了,我的插件明明是開的呀,
去網上查了一圈也沒有看到和我一樣的問題,我英語不是很好,所以碰了不少壁,
其實這個問題解決起來很簡單,確實是插件沒有打開,
看你的VS Code 右下角

如果是這樣說明 ESLint 插件沒有啟用,此時點擊一下,會有這樣的彈出框,

選擇第一項就是全域都啟用了,以后安心使用就好啦!
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/201660.html
標籤:其他
上一篇:nodejs模塊和簡單爬蟲
下一篇:ajax異步實作檔案分片上傳
