×

eslint

ESLint is disabled since its execution has not been approved or denied yet.

sexyspace sexyspace 发表于2021-03-25 10:31:39 浏览296 评论0

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.

检查vs code右下角eslint校验是否没有打开

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