vscode安装eslint

安装eslint

1.全局安装eslint
npm install eslint -g
2.vscode安装eslint插件

  1. 配置setting.json
    "eslint.validate": [ "javascript", "javascriptreact", "html", "jsx", "vue" ]

你可能感兴趣的:(vscode安装eslint)