eslint相关报错收集
- [vue/no-multiple-template-root]The template root requires exactly one element.eslint-plugin-vue
- jsx报错:jsx报错Parsing error: Unexpected token <eslint;
- ts报错:Parsing error: Unexpected token {eslint
- module报错 ‘module’ is not defined.eslint(no-undef)
 参考链接
 问题:类似'xxx' is not defined.eslint(no-undef)都可以对应代码的上方添加/* eslint-disable no-undef */忽略掉对应报错
 解决方案:对应代码上方添加/* eslint-disable $1 */,$1就是指eslint ($1)括号里的这个字段
 例如:
  
问题:
在module前添加/* eslint-disable no-undef */
/* eslint-disable no-undef */
module.exports = {

