如何关闭eslint
1. 关闭整个ESLint
方法一:在package.json文件中移除eslint的依赖,例如:
"devDependencies": { "@vue/cli-plugin-babel": "~4.4.0", "@vue/cli-plugin-eslint": "~4.4.0", "@vue/cli-service": "~4.4.0", "babel-eslint": "^10.1.0", // "eslint": "^6.8.0", // "eslint-config-airbnb-base": "^14.0.0", // "eslint-plugin-import": "^2.20.0", // "eslint-plugin-vue": "^6.2.2", "sass": "^1.23.7", "sass-loader": "^8.0.0", "svg-sprite-loader": "^4.1.6", "vue-template-compiler": "^2.6.11" },