我的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 is disabled since its execution has not been approved or denied yet
也没看明白什么

最终发现是
ESLint is disabled since its execution has not been approved or denied yet
vs code右下角这个eslint校验没有打开

我也不知道我什么时候误操作给关掉了

点击一下,选择Allow Everywhere 就OK啦

相关文章: