使用脚手架创建项目的时候 不小心安装了eslint
运行时控制台报警告: 在 目录 bulid 下 webpack.base.config.js 大的文件中找到 如下代码并注释
const createLintingRule = () => ({
/*test: /\.(js|vue)$/,
loader: 'eslint-loader',
enforce: 'pre',
include: [resolve('src'), resolve('test')],
options: {
formatter: require('eslint-friendly-formatter'),
emitWarning: !config.dev.showEslintErrorsInOverlay
}*/
})