ESLint卸载后报错Module Warning (from ./node_modules/eslint-loader/index.js)

Errors:
1 http://eslint.org/docs/rules/eol-last
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /
eslint-disable / to ignore all warnings in a file.

错误信息如下,运行之前我把之前下载的eslint卸载了。编译器也重新打开了。虽然报错但项目正常运行没有影响。我怀疑是之前安装的eslint没卸载干净。后来在网上找到了解决办法
ESLint卸载后报错Module Warning (from ./node_modules/eslint-loader/index.js)_第1张图片
解决办法:
在build/webpack.base.conf.js文件中,注释或者删除掉:module->rules中有关eslint的规则
ESLint卸载后报错Module Warning (from ./node_modules/eslint-loader/index.js)_第2张图片

你可能感兴趣的:(前端)