vsCode 对未使用过的变量波浪线显示出

image

安装eslint插件,在项目的vsCode配置settings.json文件,

"javascript.validate.enable": true,

重新启动vscode生效


墨子鱼
16 声望1 粉丝