如图在项目运行时会发出警告或者error,虽然并不影响运行,但是每次这些报错都会影响运行启动时间,而且看着很难受

解决:在.eslintrc.js中找到报错信息括号里面的内容改成0,

例如:报错:error: Unexpected console statement (no-console) at

那么就在.eslintrc.js文件中找到'no-console': 'xxx',改成'no-console': 'off'或值'no-console': 0